commit | 6ead462c49af6c50114ab689154995f822f9d495 | [log] [tgz] |
---|---|---|
author | Fahad Naeem Khan <fahad@onlab.us> | Thu Oct 16 12:33:29 2014 -0700 |
committer | Fahad Naeem Khan <fahad@onlab.us> | Thu Oct 16 12:33:47 2014 -0700 |
tree | 7fa5ae090650e28577668fccbfe56a4ebc207195 | |
parent | 9a87825940e8c841f4daa7dd6a924510bd8fb0a0 [diff] [blame] |
added groupAction in group stats and some other incomplete stuff
diff --git a/src/main/java/net/onrc/onos/apps/segmentrouting/web/SegmentRoutingWebRoutable.java b/src/main/java/net/onrc/onos/apps/segmentrouting/web/SegmentRoutingWebRoutable.java index 3e121d6..668a1ca 100644 --- a/src/main/java/net/onrc/onos/apps/segmentrouting/web/SegmentRoutingWebRoutable.java +++ b/src/main/java/net/onrc/onos/apps/segmentrouting/web/SegmentRoutingWebRoutable.java
@@ -16,7 +16,9 @@ @Override public Restlet getRestlet(Context context) { Router router = new Router(context); - router.attach("/routers", SwitchesResource.class); + //TODO: rewrite SwitchesResource for router specific info. + router.attach("/routers", RouterStatisticsResource.class); + router.attach("/router/{routerId}/{statsType}", RouterStatisticsResource.class); return router; }