From 8c7f606de6842664473a52a097db457065df6c55 Mon Sep 17 00:00:00 2001 From: imarom Date: Sun, 25 Dec 2016 16:35:07 +0200 Subject: regression breakage Signed-off-by: imarom --- scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_std.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib') 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)) -- cgit 1.2.3-korg