summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py')
-rwxr-xr-xscripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py
index dabc7320..36893972 100755
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py
@@ -30,6 +30,7 @@ STREAM_FROM_PATH_OR_FILE
DURATION
TIMEOUT
FORCE
+READONLY
DRY_RUN
XTERM
TOTAL
@@ -565,6 +566,11 @@ OPTIONS_DB = {MULTIPLIER: ArgumentPack(['-m', '--multiplier'],
'default': False,
'help': "Set if you want to stop active ports before appyling command."}),
+ READONLY: ArgumentPack(['-r'],
+ {'action': 'store_true',
+ 'dest': 'readonly',
+ 'help': 'Do not acquire ports, connect as read-only.'}),
+
REMOTE_FILE: ArgumentPack(['-r', '--remote'],
{"action": "store_true",
'default': False,