aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBilly O'Mahony <billy.o.mahony@intel.com>2016-04-15 15:56:37 +0100
committerBilly O'Mahony <billy.o.mahony@intel.com>2016-04-15 16:22:46 +0100
commit11a452a34c345abb7d882b151dd99c536f477650 (patch)
treea13d5a1f270b10c2cfc0c385d3e5a8eb7b5a5a08
parent7e6ed769e0d1e483c4a1906023128758626ab827 (diff)
yardstick-verify: Mod yardstick-flavor for ovs scenarios
VMs used with DPDK-enabled OVS must have their memory backed by large pages. Change-Id: Id685554183a76e8a6024d58920a9a9e187b90e24 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> Reviewed-by: Ana Cunha <ana.cunha@ericsson.com> Reviewed-by: Jorgen Karlsson <jorgen.w.karlsson@ericsson.com> Reviewed-by: Jonas Bjurel <jonas.bjurel@ericsson.com> Reviewed-by: Daniel Smith <daniel.smith@ericsson.com> Reviewed-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com> Reviewed-by: Mark D. Gray <mark.d.gray@intel.com>
-rwxr-xr-xci/yardstick-verify4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/yardstick-verify b/ci/yardstick-verify
index c7b1cefec..c83193574 100755
--- a/ci/yardstick-verify
+++ b/ci/yardstick-verify
@@ -144,6 +144,10 @@ create_nova_flavor()
echo "========== Create nova flavor =========="
# Create the nova flavor used by some sample test cases
nova flavor-create yardstick-flavor 100 512 3 1
+ # DPDK-enabled OVS requires guest memory to be backed by large pages
+ if [[ "$DEPLOY_SCENARIO" == *"-ovs-"* ]]; then
+ nova flavor-key yardstick-flavor set hw:mem_page_size=large
+ fi
fi
}