diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2017-03-14 02:09:04 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2017-03-14 02:09:04 +0200 |
commit | 11c76dca3353e3407c907a60d9b35746f9fc96c1 (patch) | |
tree | 54dab043cfb4078c15dc80cc92fe29521d84c5fc /scripts | |
parent | 89465f0dbdd059853e843b42580e324408528844 (diff) |
STL map() reset at start
Change-Id: I1515369763c8cccc4dc6bf537737b0d3e348d520
Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_std.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |