summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-12-25 16:35:07 +0200
committerimarom <imarom@cisco.com>2016-12-25 16:35:29 +0200
commit8c7f606de6842664473a52a097db457065df6c55 (patch)
treeb9a70e8c305cdc451010cf347c754dbd22b91a8f /scripts/automation/trex_control_plane/stl/trex_stl_lib
parent7ca1b61cbe391093b1ffe1825d79b3e49fe9b989 (diff)
regression breakage
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_std.py2
1 files changed, 2 insertions, 0 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 16f10026..17bc7c6f 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
@@ -9,6 +9,8 @@ def stl_map_ports (client, ports = None):
if ports is None:
ports = client.get_all_ports()
+ client.reset(ports)
+
unresolved_ports = list_difference(ports, client.get_resolved_ports())
if unresolved_ports:
raise STLError("Port(s) {0} have unresolved destination addresses".format(unresolved_ports))