Merge branch 'master' of https://github.com/OPENNETWORKINGLAB/ONOS
diff --git a/web/topology_rest.py b/web/topology_rest.py
index d55bf7f..fbe254b 100755
--- a/web/topology_rest.py
+++ b/web/topology_rest.py
@@ -647,6 +647,11 @@
   elif cmd == "down":
     result=os.popen(stop_onos).read()
     ret = "controller %s is down" % (controller_name)
+  elif cmd == "local":
+    ret = "Switch local"
+  elif cmd == "ext":
+    ret = "Switch external"
+
 
   return ret