aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/chain_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'nfvbench/chain_runner.py')
-rw-r--r--nfvbench/chain_runner.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/nfvbench/chain_runner.py b/nfvbench/chain_runner.py
index 0a2665d..c120501 100644
--- a/nfvbench/chain_runner.py
+++ b/nfvbench/chain_runner.py
@@ -147,9 +147,11 @@ class ChainRunner(object):
return: the results of the benchmark as a dict
"""
- LOG.info('Starting %s chain...', self.chain_name)
-
results = {}
+ if self.config.no_traffic:
+ return results
+
+ LOG.info('Starting %dx%s benchmark...', self.config.service_chain_count, self.chain_name)
self.__setup_traffic()
# now that the dest MAC for all VNFs is known in all cases, it is time to create
# workers as they might be needed to extract stats prior to sending traffic