From 0074ceeed2aa9ecafbbd8a71dc42d4bee1b34ffb Mon Sep 17 00:00:00 2001 From: imarom Date: Tue, 6 Dec 2016 15:29:55 +0200 Subject: RX features phase 2 - ARP and ICMP self response 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 7ae22e89..66a17a03 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 @@ -60,6 +60,8 @@ PING_IPV4 = 40 PING_COUNT = 41 PKT_SIZE = 42 +SERVICE_OFF = 43 + GLOBAL_STATS = 50 PORT_STATS = 51 PORT_STATUS = 52 @@ -575,6 +577,12 @@ OPTIONS_DB = {MULTIPLIER: ArgumentPack(['-m', '--multiplier'], 'default': None, 'help': "Core mask - only cores responding to the bit mask will be active"}), + SERVICE_OFF: ArgumentPack(['--off'], + {'action': 'store_false', + 'dest': 'enabled', + 'default': True, + 'help': 'Deactivates services on port(s)'}), + # advanced options PORT_LIST_WITH_ALL: ArgumentGroup(MUTEX, [PORT_LIST, ALL_PORTS], -- cgit 1.2.3-korg