From b928421d61a01f819bd0f059b1c3b0463dfd5d6f Mon Sep 17 00:00:00 2001 From: "Yang (Gabriel) Yu" Date: Wed, 18 Jul 2018 11:18:55 +0800 Subject: add support for dpdk scenario Dovetail test ran by bii shows that dpdk var needed to be set to let VM be successfully created by openstack Change-Id: I44ab09f313e38942ff1175ad05fc7521f49b855b Signed-off-by: Yang (Gabriel) Yu --- utils/infra_setup/runner/yardstick.py | 4 ++++ 1 file changed, 4 insertions(+) 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) + '"' -- cgit 1.2.3-korg