From e75dc535b163329b2c2619a55405924919d42887 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Sun, 15 May 2016 10:54:39 +0300 Subject: regression and master daemon updates --- .../trex_control_plane/stf/trex_stf_lib/trex_client.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'scripts/automation/trex_control_plane/stf') 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' -- cgit 1.2.3-korg