Skip to content

Commit

Permalink
Updated circuitpusher with new SFP syntax and routing syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Izard committed Dec 23, 2014
1 parent 579469c commit 6ba1f9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/circuitpusher/circuitpusher.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
# 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"
Expand Down
Empty file.

0 comments on commit 6ba1f9d

Please sign in to comment.