X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=bottlenecks.git;a=blobdiff_plain;f=utils%2Finfra_setup%2Frunner%2Fyardstick.py;h=6071585ca1474ca63121b4facfca21dd327543a7;hp=562e918fa2f00e717b7270e4a7f5c789fa448d05;hb=80edaf3c201bec85fe8a403e03b68899c08df3bb;hpb=16bb5e7d7745aab049d1a6810cef1ee620afa9cc diff --git a/utils/infra_setup/runner/yardstick.py b/utils/infra_setup/runner/yardstick.py index 562e918f..6071585c 100644 --- a/utils/infra_setup/runner/yardstick.py +++ b/utils/infra_setup/runner/yardstick.py @@ -46,9 +46,12 @@ def yardstick_command_parser(debug, cidr, outfile, parameter): image_name = config.bottlenecks_config["yardstick_image_name"] parameter["image_name"] = image_name DEPLOY_SCENARIO = os.getenv("DEPLOY_SCENARIO") + RAM_NUM = os.getenv("RAM_NUM") if DEPLOY_SCENARIO: if "ovs" in DEPLOY_SCENARIO: parameter["dpdk_enabled"] = True + if RAM_NUM: + parameter["ram_num"] = RAM_NUM LOG.info(parameter) if parameter is not None: cmd += " --task-args " + '"' + str(parameter) + '"'