summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/examples
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-06-07 13:02:08 +0300
committerHanoh Haim <hhaim@cisco.com>2016-06-07 13:02:08 +0300
commit38bcd9c376add0f94e3f660bbcf0558c55f31135 (patch)
treef5d6fd309f7995b94d0558ea4ec29ba00faa1c73 /scripts/automation/trex_control_plane/stl/examples
parent0814f72d66600967c9bf5f1c743ce0ee64e5c1f2 (diff)
parent918ae3cda75a01c8a4769df79bf6bfd0b270a41f (diff)
Merge branch 'master' of csi-sceasr-b94:/auto/proj-pcube-b/apps/PL-b/tools/repo//trex-core
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/examples')
-rw-r--r--scripts/automation/trex_control_plane/stl/examples/stl_pcap.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/automation/trex_control_plane/stl/examples/stl_pcap.py b/scripts/automation/trex_control_plane/stl/examples/stl_pcap.py
index eae0f18b..98af6134 100644
--- a/scripts/automation/trex_control_plane/stl/examples/stl_pcap.py
+++ b/scripts/automation/trex_control_plane/stl/examples/stl_pcap.py
@@ -39,14 +39,12 @@ def inject_pcap (pcap_file, server, port, loop_count, ipg_usec, use_vm, remove_f
c.reset(ports = [port])
c.clear_stats()
- d = c.push_pcap(pcap_file,
+ c.push_pcap(pcap_file,
ipg_usec = ipg_usec,
count = loop_count,
vm = vm,
packet_hook = packet_hook)
- STLSim().run(d, outfile = 'test.cap')
-
c.wait_on_traffic()