summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-12-19 08:52:08 +0200
committerimarom <imarom@cisco.com>2016-12-19 08:52:37 +0200
commitf51c210af7b067a36e6750d94b48ae366a48dd5c (patch)
tree4d72169f38e0dc4a91dda8a678aa67ca1cf112c9 /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
parent3859a48b255bf4254f7897b5525a330a856bfad4 (diff)
verify L2/L3 configuration cannot be done under traffic
also ping and arp Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py')
-rwxr-xr-xscripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
index 945aacd0..743ff27c 100755
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
@@ -2973,11 +2973,6 @@ class STLClient(object):
ports = ports if ports is not None else self.get_resolvable_ports()
ports = self._validate_port_list(ports)
- active_ports = list_intersect(ports, self.get_active_ports())
- if active_ports:
- raise STLError('Port(s) {0} are active, please stop them before resolving'.format(active_ports))
-
-
self.logger.pre_cmd('Resolving destination on port(s) {0}:'.format(ports))
with self.logger.supress():
rc = self.__resolve(ports, retries)