Removed "wm/flows/add-shortest-path/json" REST call
and replace it with "wm/flows/add/json".
diff --git a/web/add_flow.py b/web/add_flow.py
index 9f85bb4..6ff250a 100755
--- a/web/add_flow.py
+++ b/web/add_flow.py
@@ -96,7 +96,7 @@
flow_path_json = json.dumps(flow_path)
try:
- command = "curl -s -H 'Content-Type: application/json' -d '%s' http://%s:%s/wm/onos/flows/add-shortest-path/json" % (flow_path_json, ControllerIP, ControllerPort)
+ command = "curl -s -H 'Content-Type: application/json' -d '%s' http://%s:%s/wm/onos/flows/add/json" % (flow_path_json, ControllerIP, ControllerPort)
debug("add_shortest_path_flow %s" % command)
result = os.popen(command).read()
debug("result %s" % result)