summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2018-07-19 02:29:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-07-19 02:29:59 +0000
commitad12a6561be8c67f6da09c38c4e1c0e88eb9a6de (patch)
tree0f1389a93c4e12dafa5500f86f3a2b356a2c266b /utils
parent77ef588742ae58705ce01d5382c489d917367c42 (diff)
parentb928421d61a01f819bd0f059b1c3b0463dfd5d6f (diff)
Merge "add support for dpdk scenario"
Diffstat (limited to 'utils')
-rw-r--r--utils/infra_setup/runner/yardstick.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/infra_setup/runner/yardstick.py b/utils/infra_setup/runner/yardstick.py
index 3eeeee6b..562e918f 100644
--- a/utils/infra_setup/runner/yardstick.py
+++ b/utils/infra_setup/runner/yardstick.py
@@ -45,6 +45,10 @@ def yardstick_command_parser(debug, cidr, outfile, parameter):
cmd += " --output-file " + outfile
image_name = config.bottlenecks_config["yardstick_image_name"]
parameter["image_name"] = image_name
+ DEPLOY_SCENARIO = os.getenv("DEPLOY_SCENARIO")
+ if DEPLOY_SCENARIO:
+ if "ovs" in DEPLOY_SCENARIO:
+ parameter["dpdk_enabled"] = True
LOG.info(parameter)
if parameter is not None:
cmd += " --task-args " + '"' + str(parameter) + '"'