NFVBENCH-94 End to end traffic test triggers too early on chatty network
[nfvbench.git] / nfvbench / nfvbench.py
index c5c1244..1f80390 100644 (file)
@@ -574,7 +574,9 @@ def main():
         if opts.no_int_config:
             config.no_int_config = opts.no_int_config
 
+        # port to port loopback (direct or through switch)
         if opts.l2_loopback:
+            config.l2_loopback = True
             if config.service_chain != ChainType.EXT:
                 LOG.info('Changing service chain type to EXT')
                 config.service_chain = ChainType.EXT