hook up switchctrl all/local
diff --git a/web/topology_rest.py b/web/topology_rest.py
index 9181248..036776f 100755
--- a/web/topology_rest.py
+++ b/web/topology_rest.py
@@ -197,6 +197,19 @@
resp = Response(result, status=200, mimetype='application/json')
return resp
+@app.route("/proxy/gui/switchctrl/<cmd>")
+def proxy_switch_controller_setting(cmd):
+ try:
+ command = "curl -s %s/gui/switchctrl/%s" % (ONOS_GUI3_CONTROL_HOST, cmd)
+ print command
+ result = os.popen(command).read()
+ except:
+ print "REST IF has issue"
+ exit
+
+ resp = Response(result, status=200, mimetype='application/json')
+ return resp
+
###### ONOS RESET API ##############################
## Worker Func ###