aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/nfvbench.py
diff options
context:
space:
mode:
authorPierrick Louin <pierrick.louin@orange.com>2020-10-13 17:21:42 +0200
committerAlec Hothan <ahothan@cisco.com>2020-10-17 15:20:24 +0000
commit8faf4cc8f09ebea48b74e6142a14dcca4633778b (patch)
treefa398f77e05d13156c2c02213a87f6c8661fc038 /nfvbench/nfvbench.py
parentf89dfb7e78c0e6f0474777d5718ebc5bacd76707 (diff)
NFVBENCH-180: Add a 'no_e2e_check' option to skip "end to end" connectivity check
Change-Id: Ic4ed852752a542f958f9ccb74369825bc85ddadb Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
Diffstat (limited to 'nfvbench/nfvbench.py')
-rw-r--r--nfvbench/nfvbench.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/nfvbench/nfvbench.py b/nfvbench/nfvbench.py
index f7fe5a1..314b828 100644
--- a/nfvbench/nfvbench.py
+++ b/nfvbench/nfvbench.py
@@ -529,6 +529,8 @@ def _parse_opts_from_cli():
help='Override the T-Rex \'cores\' parameter')
parser.add_argument('--cache-size', dest='cache_size',
+ type=int_arg,
+ metavar='<size>',
action='store',
default='0',
help='Specify the FE cache size (default: 0, flow-count if < 0)')
@@ -536,12 +538,17 @@ def _parse_opts_from_cli():
parser.add_argument('--service-mode', dest='service_mode',
action='store_true',
default=False,
- help='Enable T-Rex service mode for debugging only')
+ help='Enable T-Rex service mode (for debugging purpose)')
+
+ parser.add_argument('--no-e2e-check', dest='no_e2e_check',
+ action='store_true',
+ default=False,
+ help='Skip "end to end" connectivity check (on test purpose)')
parser.add_argument('--no-flow-stats', dest='no_flow_stats',
action='store_true',
default=False,
- help='Disable extra flow stats (on high load traffic)')
+ help='Disable additional flow stats (on high load traffic)')
parser.add_argument('--no-latency-stats', dest='no_latency_stats',
action='store_true',