diff options
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.py | 2 |
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)) |