diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-01 14:18:14 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-01 14:18:14 +0200 |
commit | bdc690e8229808974a8f899e145931c06db6e082 (patch) | |
tree | c9dfa0304526a717566508f2de9d472e796f40e1 /scripts/automation/trex_control_plane/client/trex_stateless_client.py | |
parent | f9dcbd38e90601f5571bb5bcfb67170876ecd3c6 (diff) |
HTLAPI update
Diffstat (limited to 'scripts/automation/trex_control_plane/client/trex_stateless_client.py')
-rwxr-xr-x | scripts/automation/trex_control_plane/client/trex_stateless_client.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/client/trex_stateless_client.py b/scripts/automation/trex_control_plane/client/trex_stateless_client.py index 4a2cc436..78adbcc2 100755 --- a/scripts/automation/trex_control_plane/client/trex_stateless_client.py +++ b/scripts/automation/trex_control_plane/client/trex_stateless_client.py @@ -932,6 +932,8 @@ class STLClient(object): # by default use all ports if ports == None: ports = self.get_all_ports() + else: + ports = self.__ports(ports) # verify valid port id list rc = self._validate_port_list(ports) @@ -1632,6 +1634,8 @@ class STLClient(object): # by default use all ports if ports == None: ports = self.get_all_ports() + else: + ports = self.__ports(ports) # verify valid port id list rc = self._validate_port_list(ports) |