From ab28fccc187c6134eeb0400ce0b113a77e498bb2 Mon Sep 17 00:00:00 2001 From: imarom Date: Wed, 9 Nov 2016 18:19:09 +0200 Subject: RX features - added port attributes for IPv4 and DG Signed-off-by: imarom --- .../trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py') 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 715a741e..b93a797d 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 @@ -45,9 +45,11 @@ FLOW_CTRL = 28 SUPPORTED = 29 RX_FILTER_MODE = 30 + OUTPUT_FILENAME = 31 ALL_FILES = 32 LIMIT = 33 +PORT_RESTART = 34 GLOBAL_STATS = 50 PORT_STATS = 51 @@ -322,6 +324,12 @@ OPTIONS_DB = {MULTIPLIER: ArgumentPack(['-m', '--multiplier'], 'type': str}), + PORT_RESTART: ArgumentPack(['-r', '--restart'], + {'help': 'hard restart port(s)', + 'dest': 'restart', + 'default': False, + 'action': 'store_true'}), + ALL_FILES: ArgumentPack(['--all'], {'help': 'change RX port filter to fetch all packets', -- cgit 1.2.3-korg