sdncon mapping of group command to ONOS REST API
diff --git a/cli/sdncon/rest/views.py b/cli/sdncon/rest/views.py
index 5b54f3c..760f11f 100755
--- a/cli/sdncon/rest/views.py
+++ b/cli/sdncon/rest/views.py
@@ -407,6 +407,8 @@
if request.method != 'GET':
raise RestInvalidMethodException()
#url = controller_url('core', 'switch', dpid, stattype, 'json')
+ if stattype == 'group':
+ stattype = 'groupStats'
url = "http://localhost:8080/wm/floodlight/core/switch/%s/%s/json" % (dpid, stattype)
return get_sdnplatform_response(url)