diff options
author | 2016-11-23 12:00:01 +0200 | |
---|---|---|
committer | 2016-11-23 12:00:01 +0200 | |
commit | d4dc81145d339e9cae7991f528b472d4c4178913 (patch) | |
tree | a89a2900aa9caea02a02cb877ebfa967601ea091 /scripts/automation/trex_control_plane/stl/trex_stl_lib/utils | |
parent | 5472a2937363370d8632bb0e53757bc66a0b2403 (diff) |
merge issues
Signed-off-by: imarom <imarom@cisco.com>
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 | 9 |
1 files changed, 8 insertions, 1 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 f20bdad6..8a667dc0 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 @@ -57,7 +57,8 @@ RETRIES = 37 RX_FILTER_MODE = 38 SOURCE_PORT = 39 PING_IPV4 = 40 -PKT_SIZE = 41 +PING_COUNT = 41 +PKT_SIZE = 42 GLOBAL_STATS = 50 PORT_STATS = 51 @@ -431,6 +432,12 @@ OPTIONS_DB = {MULTIPLIER: ArgumentPack(['-m', '--multiplier'], 'required': True, 'type': check_ipv4_addr}), + PING_COUNT: ArgumentPack(['-n', '--count'], + {'help': 'How many times to ping [default is 5]', + 'dest': 'count', + 'default': 5, + 'type': int}), + PKT_SIZE: ArgumentPack(['-s'], {'dest':'pkt_size', 'help': 'packet size to use', |