diff options
author | 2016-01-21 10:20:00 -0500 | |
---|---|---|
committer | 2016-01-21 10:20:00 -0500 | |
commit | db5b9d6085b3e5cf71e1abf42c7a745cb723e00e (patch) | |
tree | 35d0f317ec9395617a6dfdf5ab7665e8890b689d | |
parent | cc75f3f75e026bc17e526577c463ab5b524ebf22 (diff) |
removing some un-needed file
-rw-r--r-- | scripts/stl_test_example.py | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/scripts/stl_test_example.py b/scripts/stl_test_example.py deleted file mode 100644 index 5b36a9f6..00000000 --- a/scripts/stl_test_example.py +++ /dev/null @@ -1,35 +0,0 @@ -import os -import sys -import time - -api_path = os.path.dirname(os.path.abspath(__file__)) -sys.path.insert(0, os.path.join(api_path, 'automation/trex_control_plane/client/')) - -from trex_stateless_client import CTRexStatelessClient, STLError - -c = CTRexStatelessClient() - -try: - for i in xrange(0, 100): - c.connect("RO") - c.disconnect() - - # - #c.stop() - #before_ipackets = x.get_stats().get_rel('ipackets') - - #c.start(profiles = 'stl/imix_3pkt.yaml', ports = [0,1], mult = "1gbps") - - #for i in xrange(0, 10): - # time.sleep(5) - # c.update(ports = [0,1], mult = "1gbps+") - - #c.cmd_wait_on_traffic() - #c.stop() - -except STLError as e: - print e -finally: - pass - #c.teardown() - |