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-11-23 12:00:01 +0200
committerimarom <imarom@cisco.com>2016-11-23 12:00:01 +0200
commitd4dc81145d339e9cae7991f528b472d4c4178913 (patch)
treea89a2900aa9caea02a02cb877ebfa967601ea091 /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
parent5472a2937363370d8632bb0e53757bc66a0b2403 (diff)
merge issues
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, 4 insertions, 1 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 9e727993..d23010db 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
@@ -1765,6 +1765,9 @@ class STLClient(object):
self.__release(ports)
raise STLError(rc)
+ for port_id in ports:
+ if not self.ports[port_id].is_resolved():
+ self.logger.log(format_text('*** Warning - Port {0} destination is unresolved ***'.format(port_id), 'bold'))
@__api_check(True)
def release (self, ports = None):
@@ -3118,7 +3121,7 @@ class STLClient(object):
parsing_opts.SOURCE_PORT,
parsing_opts.PING_IPV4,
parsing_opts.PKT_SIZE,
- parsing_opts.COUNT)
+ parsing_opts.PING_COUNT)
opts = parser.parse_args(line.split())
if not opts: