diff options
author | Pierrick Louin <pierrick.louin@orange.com> | 2020-11-08 22:31:41 +0100 |
---|---|---|
committer | Pierrick Louin <pierrick.louin@orange.com> | 2020-11-09 10:37:30 +0100 |
commit | 78f547514e54a9332b919734aed7c8ca1390cb48 (patch) | |
tree | 5b11acddf8e033e1e1d699ba6d7a485e9a5741d2 /nfvbench/chain_runner.py | |
parent | d41631be9142a50284cfbfd252a53e97d7ebd8c7 (diff) |
NFVBENCH-187: Augment --l2-loopback command line option capabilities
[vlan(s)|no-tag|true|false] - Update documentation
Clarify some fuzzy coding in options processing [nfvbench.py]
Change-Id: Ie6eec7722bfa557924f435f268b852c300e160df
Signed-off-by: Pierrick Louin <pierrick.louin@orange.com>
Diffstat (limited to 'nfvbench/chain_runner.py')
-rw-r--r-- | nfvbench/chain_runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nfvbench/chain_runner.py b/nfvbench/chain_runner.py index ae9ccff..7b1153f 100644 --- a/nfvbench/chain_runner.py +++ b/nfvbench/chain_runner.py @@ -71,6 +71,8 @@ class ChainRunner(object): # VLAN is discovered from the networks gen_config.set_vlans(0, self.chain_manager.get_chain_vlans(0)) gen_config.set_vlans(1, self.chain_manager.get_chain_vlans(1)) + else: + LOG.info("Ports: untagged") # the only case we do not need to set the dest MAC is in the case of # l2-loopback (because the traffic gen will default to use the peer MAC) |