load_images: update flavor for _ovs_ scenarios 25/28625/2
authorMaryam Tahhan <maryam.tahhan@intel.com>
Tue, 14 Feb 2017 14:30:21 +0000 (14:30 +0000)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Tue, 14 Feb 2017 21:39:29 +0000 (21:39 +0000)
Update the nova flavor used for the following scenarios:
* os-nosdn-kvm_ovs_dpdk_bar-ha
* os-nosdn-kvm_ovs_dpdk-ha
without interfering with older scenario os-nosdn-ovs-noha.

Change-Id: Id641e57a5f41413a891d4335ce2d119a5e8088e9
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
tests/ci/load_images.sh

index e1d7177..6f950ec 100755 (executable)
@@ -206,7 +206,7 @@ create_nova_flavor()
         # Create the nova flavor used by some sample test cases
         openstack flavor create --id 100 --ram 512 --disk 3 --vcpus 1 yardstick-flavor
         # DPDK-enabled OVS requires guest memory to be backed by large pages
-        if [[ "$DEPLOY_SCENARIO" == *"-ovs-"* ]]; then
+        if [[ $DEPLOY_SCENARIO == *[_-]ovs[_-]* ]]; then
             openstack flavor set --property hw:mem_page_size=large yardstick-flavor
         fi
         # VPP requires guest memory to be backed by large pages