diff options
author | 2016-05-15 10:54:39 +0300 | |
---|---|---|
committer | 2016-05-15 10:54:39 +0300 | |
commit | e75dc535b163329b2c2619a55405924919d42887 (patch) | |
tree | 61d52876ca04d341495d4affea21bf1b7e99c36c /scripts/automation/trex_control_plane/stf/trex_stf_lib | |
parent | 361a7a79ce71dced4bc005c85ca2c4e272cd8f9d (diff) |
regression and master daemon updates
Diffstat (limited to 'scripts/automation/trex_control_plane/stf/trex_stf_lib')
-rwxr-xr-x | scripts/automation/trex_control_plane/stf/trex_stf_lib/trex_client.py | 12 |
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' |