Changes due to REST API change
diff --git a/TestON/drivers/common/cli/onosclidriver.py b/TestON/drivers/common/cli/onosclidriver.py
index 1b06fe3..56a3e6d 100644
--- a/TestON/drivers/common/cli/onosclidriver.py
+++ b/TestON/drivers/common/cli/onosclidriver.py
@@ -652,7 +652,7 @@
try:
buf = ""
retcode = 0
- url="http://%s:%s/wm/onos/topology/switches/json" % (RestIP, RestPort)
+ url="http://%s:%s/wm/onos/topology/switches" % (RestIP, RestPort)
parsedResult = self.get_json(url)
if parsedResult == "":
retcode = 1
@@ -702,7 +702,7 @@
buf = ""
retcode = 0
- url = "http://%s:%s/wm/onos/topology/links/json" % (RestIP, RestPort)
+ url = "http://%s:%s/wm/onos/topology/links" % (RestIP, RestPort)
parsedResult = self.get_json(url)
if parsedResult == "":