Skip to content
Snippets Groups Projects
Commit 6ba1f9d2 authored by Ryan Izard's avatar Ryan Izard
Browse files

Updated circuitpusher with new SFP syntax and routing syntax.

parent 579469c9
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ if args.action=='add':
# retrieving route from source to destination
# using Routing rest API
command = "curl -s http://%s/wm/topology/route/%s/%s/%s/%s/json" % (controllerRestIp, sourceSwitch, sourcePort['shortPortNumber'], destSwitch, destPort['shortPortNumber'])
command = "curl -s http://%s/wm/topology/route/%s/%s/%s/%s/json" % (controllerRestIp, sourceSwitch, sourcePort, destSwitch, destPort)
result = os.popen(command).read()
print result+"\n"
print command+"\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment