From: Yaroslav Brustinov Date: Tue, 14 Mar 2017 00:09:04 +0000 (+0200) Subject: STL map() reset at start X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=11c76dca3353e3407c907a60d9b35746f9fc96c1;p=trex.git STL map() reset at start Change-Id: I1515369763c8cccc4dc6bf537737b0d3e348d520 Signed-off-by: Yaroslav Brustinov --- diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_std.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_std.py index 27f34092..c652d47f 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_std.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_std.py @@ -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)