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-08-03 12:01:51 +0300
committerimarom <imarom@cisco.com>2016-08-03 15:03:09 +0300
commit35ab1e1766baedee576d282c928ac37b42f66e8d (patch)
tree182f311e6822a7ccf1f8497825ad275643604394 /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
parentbcc2ca1a462ac65dec74e65c81e633e4f30d7fc1 (diff)
async compressed - https://trex-tgn.cisco.com/youtrack/issue/trex-232
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.py6
1 files changed, 3 insertions, 3 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 4e3d3092..70be3b75 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
@@ -511,7 +511,7 @@ class STLClient(object):
self.connected = False
# API classes
- self.api_vers = [ {'type': 'core', 'major': 1, 'minor': 3 } ]
+ self.api_vers = [ {'type': 'core', 'major': 2, 'minor': 3 } ]
self.api_h = {'core': None}
# logger
@@ -1018,7 +1018,7 @@ class STLClient(object):
try:
ret = f(*args, **kwargs)
except KeyboardInterrupt as e:
- raise STLError("Test was interrupted by a keyboard signal (probably ctrl + c)")
+ raise STLError("Interrupted by a keyboard signal (probably ctrl + c)")
return ret
return wrap2
@@ -2834,7 +2834,7 @@ class STLClient(object):
self.clear_stats(opts.ports)
-
+ return RC_OK()
@__console