diff options
author | Yichen Wang <yicwang@cisco.com> | 2018-01-23 16:02:29 -0800 |
---|---|---|
committer | Yichen Wang <yicwang@cisco.com> | 2018-01-23 16:04:12 -0800 |
commit | 0268d1ab252ebcb6d97c3009005a1e259aa512e4 (patch) | |
tree | d7ff2003295cc515450b51fdbbb3536dd8b34b6e | |
parent | 5a7cb16e9b178ee70b29a554fcbd6f582a1f031a (diff) |
[NFVBENCH-63] Make sure CLI overrides the default configs
Change-Id: I5e94f130758d3c1dbf6aaeeda276463576b97394
Signed-off-by: Yichen Wang <yicwang@cisco.com>
-rw-r--r-- | nfvbench/nfvbench.py | 4 |
1 files changed, 4 insertions, 0 deletions
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): |