STL map() reset at start
authorYaroslav Brustinov <[email protected]>
Tue, 14 Mar 2017 00:09:04 +0000 (02:09 +0200)
committerYaroslav Brustinov <[email protected]>
Tue, 14 Mar 2017 00:09:04 +0000 (02:09 +0200)
Change-Id: I1515369763c8cccc4dc6bf537737b0d3e348d520
Signed-off-by: Yaroslav Brustinov <[email protected]>
scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_std.py

index 27f3409..c652d47 100644 (file)
@@ -86,7 +86,7 @@ def stl_send_3_pkts(client, ports = None):
     stream = STLStream(packet = base_pkt,
                        mode = STLTXSingleBurst(pps = 100000, total_pkts = 3))
 
-    client.remove_all_streams(ports)
+    client.reset(ports)
     client.add_streams(stream, ports)
     client.start(ports, mult = "5%")
     client.wait_on_traffic(ports)