commit | abf0757bf3c24b916b3dbc87cc074549dc699663 | [log] [tgz] |
---|---|---|
author | Umesh Krishnaswamy <krishji@gmail.com> | Fri Apr 05 17:20:11 2013 -0700 |
committer | Umesh Krishnaswamy <krishji@gmail.com> | Fri Apr 05 17:20:11 2013 -0700 |
tree | 96e65c178921a29e85672e653cee667af2e8e676 | |
parent | a759851ea1422a020f36695b9c6f2594f04d22a2 [diff] |
Run iperf only only software for now
diff --git a/web/topology_rest.py b/web/topology_rest.py index e0966ce..e56536b 100755 --- a/web/topology_rest.py +++ b/web/topology_rest.py
@@ -927,6 +927,9 @@ #http://localhost:9000/gui/iperf/rate/<flow_id> @app.route("/gui/iperf/rate/<flow_id>") def iperf_rate(flow_id): + if (TESTBED == "hw"): + return "" + try: command = "curl -s \'http://%s:%s/wm/flow/get/%s/json\'" % (RestIP, RestPort, flow_id) print command