summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-01-18 11:27:10 -0500
committerimarom <imarom@cisco.com>2016-01-21 10:11:55 -0500
commit2d9d5e147b8f15a8308dad46711390f3b168ec56 (patch)
tree875264814e580405bf6464eb1ee4b7798f64309c /scripts/automation/trex_control_plane/client_utils
parent9932ff8dcf4f8b6b6f3986832f8a1a8f8461c743 (diff)
highly draft - just backing up
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils')
-rwxr-xr-xscripts/automation/trex_control_plane/client_utils/parsing_opts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/parsing_opts.py b/scripts/automation/trex_control_plane/client_utils/parsing_opts.py
index 3735a45b..c1afda26 100755
--- a/scripts/automation/trex_control_plane/client_utils/parsing_opts.py
+++ b/scripts/automation/trex_control_plane/client_utils/parsing_opts.py
@@ -284,12 +284,12 @@ class CCmdArgParser(argparse.ArgumentParser):
# if all ports are marked or
if (getattr(opts, "all_ports", None) == True) or (getattr(opts, "ports", None) == []):
- opts.ports = self.stateless_client.get_port_ids()
+ opts.ports = self.stateless_client.get_all_ports()
# so maybe we have ports configured
elif (getattr(opts, "ports", None) == []):
for port in opts.ports:
- if not self.stateless_client.validate_port_list([port]):
+ if not self.stateless_client._validate_port_list([port]):
self.error("port id '{0}' is not a valid port id\n".format(port))
return opts