From 7294d7f162e19e0ccd3a37eafbafe22cf63df6a4 Mon Sep 17 00:00:00 2001 From: imarom Date: Sun, 24 Jan 2016 08:27:22 -0500 Subject: fixed issue trex-172: Console -m 100% is L2 and no L1 http://trex-tgn.cisco.com/youtrack/issue/trex-172 --- scripts/automation/trex_control_plane/client_utils/parsing_opts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/automation/trex_control_plane/client_utils') diff --git a/scripts/automation/trex_control_plane/client_utils/parsing_opts.py b/scripts/automation/trex_control_plane/client_utils/parsing_opts.py index ba60c191..968bbb7e 100755 --- a/scripts/automation/trex_control_plane/client_utils/parsing_opts.py +++ b/scripts/automation/trex_control_plane/client_utils/parsing_opts.py @@ -182,13 +182,13 @@ def is_valid_file(filename): OPTIONS_DB = {MULTIPLIER: ArgumentPack(['-m', '--multiplier'], {'help': match_multiplier_help, 'dest': "mult", - 'default': {'type':'raw', 'value':1, 'op': 'abs'}, + 'default': "1", 'type': match_multiplier}), MULTIPLIER_STRICT: ArgumentPack(['-m', '--multiplier'], {'help': match_multiplier_help, 'dest': "mult", - 'default': {'type':'raw', 'value':1, 'op': 'abs'}, + 'default': "1", 'type': match_multiplier_strict}), TOTAL: ArgumentPack(['-t', '--total'], -- cgit 1.2.3-korg