From a21e1f0b55e724f099e8732471788f6e1de1e3ef Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 15 Nov 2016 20:04:48 +0200 Subject: STL push remote pcap: don't check that path exists at client side Signed-off-by: Yaroslav Brustinov --- .../trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py | 9 +++++++++ 1 file changed, 9 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 7eda8635..34cafd79 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 @@ -43,6 +43,7 @@ CORE_MASK = 26 DUAL = 27 FLOW_CTRL = 28 SUPPORTED = 29 +FILE_PATH_NO_CHECK = 30 GLOBAL_STATS = 50 PORT_STATS = 51 @@ -362,6 +363,14 @@ OPTIONS_DB = {MULTIPLIER: ArgumentPack(['-m', '--multiplier'], 'type': is_valid_file, 'help': "File path to load"}), + FILE_PATH_NO_CHECK: ArgumentPack(['-f'], + {'metavar': 'FILE', + 'dest': 'file', + 'nargs': 1, + 'required': True, + 'type': str, + 'help': "File path to load"}), + FILE_FROM_DB: ArgumentPack(['--db'], {'metavar': 'LOADED_STREAM_PACK', 'help': "A stream pack which already loaded into console cache."}), -- cgit 1.2.3-korg