diff options
author | 2016-09-04 15:25:42 +0300 | |
---|---|---|
committer | 2016-09-07 14:02:55 +0300 | |
commit | 04eae221e7c0089ae974f86e3f6fe156d4cb56ce (patch) | |
tree | 53b378e86f8173a8cc1f4bf2107ce6f797a91760 /scripts/automation/trex_control_plane/stl/trex_stl_lib/utils | |
parent | 873e398fe2a52655b4d683acbcd05ef726cd97fa (diff) |
DUAL mode - phase #1
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils')
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py | 6 |
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 9ed6c0f8..4e57aae3 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 @@ -39,6 +39,7 @@ REMOTE_FILE = 23 LOCKED = 24 PIN_CORES = 25 CORE_MASK = 26 +DUAL = 28 GLOBAL_STATS = 50 PORT_STATS = 51 @@ -313,6 +314,11 @@ OPTIONS_DB = {MULTIPLIER: ArgumentPack(['-m', '--multiplier'], 'default': False, 'help': "file path should be interpeted by the server (remote file)"}), + DUAL: ArgumentPack(['--dual'], + {"action": "store_true", + 'default': False, + 'help': "Transmit in a dual mode - requires a slave attached to the port"}), + FILE_PATH: ArgumentPack(['-f'], {'metavar': 'FILE', 'dest': 'file', |