diff options
author | Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> | 2018-07-18 11:18:55 +0800 |
---|---|---|
committer | Yu Yang (Gabriel) <Gabriel.yuyang@huawei.com> | 2018-07-19 02:30:08 +0000 |
commit | 20fe17a8b231a8de337fa379c58b9919f42cd452 (patch) | |
tree | 092ab528f4459150cf646b3bab2cb4febac8d029 /utils/infra_setup/runner | |
parent | 3206dad00a2cdc73d8e77cd8316ee74cf2386475 (diff) |
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 <Gabriel.yuyang@huawei.com>
(cherry picked from commit b928421d61a01f819bd0f059b1c3b0463dfd5d6f)
Diffstat (limited to 'utils/infra_setup/runner')
-rw-r--r-- | utils/infra_setup/runner/yardstick.py | 4 |
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) + '"' |