summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stf
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-05-15 10:54:39 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-05-15 10:54:39 +0300
commite75dc535b163329b2c2619a55405924919d42887 (patch)
tree61d52876ca04d341495d4affea21bf1b7e99c36c /scripts/automation/trex_control_plane/stf
parent361a7a79ce71dced4bc005c85ca2c4e272cd8f9d (diff)
regression and master daemon updates
Diffstat (limited to 'scripts/automation/trex_control_plane/stf')
-rwxr-xr-xscripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py b/scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py
index 09ee52ef..0aac043e 100755
--- a/scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py
+++ b/scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py
@@ -354,6 +354,18 @@ class CTRexClient(object):
self.prompt_verbose_data()
+ def get_trex_path(self):
+ '''
+ Returns TRex path on server
+ '''
+ try:
+ return self.master_daemon.get_trex_path()
+ except AppError as err:
+ self._handle_AppError_exception(err.args[0])
+ finally:
+ self.prompt_verbose_data()
+
+
def wait_until_kickoff_finish(self, timeout = 40):
"""
Block the client application until TRex changes state from 'Starting' to either 'Idle' or 'Running'