diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-08-03 16:50:51 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-08-03 16:51:43 +0300 |
commit | 775616cd5a8b06c115b5faaf499cbc74fcb8dcc2 (patch) | |
tree | 4cc5d141e42623bc39e63222cdcb355015e398a0 /scripts/automation/trex_control_plane/stl | |
parent | ddef1a091fc5d73d2d7d49f19a121bfc8f129851 (diff) |
add -m bpsl1
Diffstat (limited to 'scripts/automation/trex_control_plane/stl')
-rwxr-xr-x | scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/parsing_opts.py | 17 |
1 files changed, 13 insertions, 4 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 af7e90c1..cfe8a93b 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 @@ -79,14 +79,23 @@ def match_time_unit(val): "-d 10m : in min \n" "-d 1h : in hours") + match_multiplier_help = """Multiplier should be passed in the following format: - [number][<empty> | bps | kbps | mbps | gbps | pps | kpps | mpps | %% ]. + [number][<empty> | bps | kbps | mbps | gbps | pps | kpps | mpps | %% ]. + no suffix will provide an absoulute factor and percentage will provide a percentage of the line rate. examples - '-m 10', '-m 10kbps', '-m 10mpps', '-m 23%%' - '-m 23%%' : is 23%% L1 bandwidth - '-m 23mbps' : is 23mbps in L2 bandwidth (including FCS+4) + '-m 10', + '-m 10kbps', + '-m 10kbpsl1', + '-m 10mpps', + '-m 23%% ' + + '-m 23%%' : is 23%% L1 bandwidth + '-m 23mbps': is 23mbps in L2 bandwidth (including FCS+4) + '-m 23mbpsl1': is 23mbps in L1 bandwidth + """ |