From 0268d1ab252ebcb6d97c3009005a1e259aa512e4 Mon Sep 17 00:00:00 2001 From: Yichen Wang Date: Tue, 23 Jan 2018 16:02:29 -0800 Subject: [PATCH] [NFVBENCH-63] Make sure CLI overrides the default configs Change-Id: I5e94f130758d3c1dbf6aaeeda276463576b97394 Signed-off-by: Yichen Wang --- nfvbench/nfvbench.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nfvbench/nfvbench.py b/nfvbench/nfvbench.py index 18bdc70..7d2e037 100644 --- a/nfvbench/nfvbench.py +++ b/nfvbench/nfvbench.py @@ -519,6 +519,10 @@ def main(): config.service_chain = opts.service_chain if opts.service_chain_count: config.service_chain_count = opts.service_chain_count + if opts.no_vswitch_access: + config.no_vswitch_access = opts.no_vswitch_access + if opts.no_int_config: + config.no_int_config = opts.no_int_config if opts.use_sriov_middle_net: if (not config.sriov) or (not config.service_chain == ChainType.PVVP): -- 2.16.6