From 11c76dca3353e3407c907a60d9b35746f9fc96c1 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 14 Mar 2017 02:09:04 +0200 Subject: STL map() reset at start Change-Id: I1515369763c8cccc4dc6bf537737b0d3e348d520 Signed-off-by: Yaroslav Brustinov --- scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_std.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation') 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) -- cgit 1.2.3-korg