From: imarom Date: Sun, 25 Dec 2016 14:35:07 +0000 (+0200) Subject: regression breakage X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F5213%2F1;p=trex.git regression breakage Signed-off-by: imarom --- 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))