commit | 2f31f992709ad3036a4a111dc931f6889d2e6cc9 | [log] [tgz] |
---|---|---|
author | Umesh Krishnaswamy <krishji@gmail.com> | Thu Apr 04 21:41:27 2013 -0700 |
committer | Umesh Krishnaswamy <krishji@gmail.com> | Thu Apr 04 21:41:27 2013 -0700 |
tree | 0b7d53d074736e0573970fde9204de5878360a7c | |
parent | 92d44d21ecc6c43375d05fe76aa0877840125a1c [diff] | |
parent | 46cd640bc7f485a550f54a6ae994bc21220830c8 [diff] |
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