Change ONOS rest urls to match the new ONOS rest urls
NOTE: wm/devices has been removed from ONOS and has not yet been added back
diff --git a/TestON/drivers/common/cli/onosclidriver.py b/TestON/drivers/common/cli/onosclidriver.py
index 02db024..7056340 100644
--- a/TestON/drivers/common/cli/onosclidriver.py
+++ b/TestON/drivers/common/cli/onosclidriver.py
@@ -450,10 +450,10 @@
main.exit()
-# http://localhost:8080/wm/core/topology/switches/all/json
-# http://localhost:8080/wm/core/topology/links/json
-# http://localhost:8080/wm/registry/controllers/json
-# http://localhost:8080/wm/registry/switches/json"
+# http://localhost:8080/wm/onos/ng/switches/json
+# http://localhost:8080/wm/onos/ng/links/json
+# http://localhost:8080/wm/onos/registry/controllers/json
+# http://localhost:8080/wm/onos/registry/switches/json"
def get_json(self, url):
'''
@@ -781,7 +781,7 @@
retmac = []
foundIP = []
try:
- ##### device rest API is: 'host:8080/wm/core/topology/switches/all/json' ###
+ ##### device rest API is: 'host:8080/wm/onos/ng/switches/json' ###
url ="http://%s:%s%s" %(RestIP,RestPort,RestAPI)
try: