summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/console/trex_tui.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/console/trex_tui.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/console/trex_tui.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/stl/console/trex_tui.py b/scripts/automation/trex_control_plane/stl/console/trex_tui.py
index d3da738b..a69c4165 100644
--- a/scripts/automation/trex_control_plane/stl/console/trex_tui.py
+++ b/scripts/automation/trex_control_plane/stl/console/trex_tui.py
@@ -720,6 +720,7 @@ class AsyncKeysEngineConsole:
self.ac = {'start' : client.start_line,
'stop' : client.stop_line,
'pause' : client.pause_line,
+ 'push' : client.push_line,
'resume' : client.resume_line,
'update' : client.update_line,
'connect' : client.connect_line,
@@ -847,8 +848,9 @@ class AsyncKeysEngineConsole:
# handle TAB for completing filenames
def handle_tab_files (self, tokens):
- # we support only start command with files
- if tokens[0] != 'start':
+
+ # only commands with files
+ if tokens[0] not in {'start', 'push'}:
return
# '-f' with no paramters - no partial and use current dir