diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-05-26 11:05:15 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-05-26 11:11:24 +0200 |
commit | 785ab148a518e535ce9e646a3f4e9f08d2f6a191 (patch) | |
tree | a1df2d16d58ca06e69da6d6bb63486791dfcb965 /testcases/OpenStack/healthcheck/healthcheck.sh | |
parent | 6557733dfaaf902f8546dfc019ba1b7fefc889da (diff) |
Use flavor name instead of flavor id
Default flavor id changes if its attributes have been modified.
Flavor name is used instead of flavor id.
Change-Id: I7a076eed4ebef13a83594bf9017895bd6fb36bd2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'testcases/OpenStack/healthcheck/healthcheck.sh')
-rwxr-xr-x | testcases/OpenStack/healthcheck/healthcheck.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testcases/OpenStack/healthcheck/healthcheck.sh b/testcases/OpenStack/healthcheck/healthcheck.sh index 899f96b59..d9a83a2af 100755 --- a/testcases/OpenStack/healthcheck/healthcheck.sh +++ b/testcases/OpenStack/healthcheck/healthcheck.sh @@ -187,13 +187,13 @@ info "Testing Nova API..." # by SDN controller in case of odl_l2 scenario. sleep 60 -nova boot --flavor 2 --image ${image_1} --nic net-id=${net1_id} ${instance_1} +nova boot --flavor m1.small --image ${image_1} --nic net-id=${net1_id} ${instance_1} debug "nova instance '${instance_1}' booted on ${net_1}." -nova boot --flavor 2 --image ${image_1} --nic net-id=${net1_id} ${instance_2} +nova boot --flavor m1.small --image ${image_1} --nic net-id=${net1_id} ${instance_2} debug "nova instance '${instance_2}' booted on ${net_1}." -nova boot --flavor 2 --image ${image_2} --nic net-id=${net2_id} ${instance_3} +nova boot --flavor m1.small --image ${image_2} --nic net-id=${net2_id} ${instance_3} debug "nova instance '${instance_3}' booted on ${net_2}." -nova boot --flavor 2 --image ${image_2} --nic net-id=${net2_id} ${instance_4} +nova boot --flavor m1.small --image ${image_2} --nic net-id=${net2_id} ${instance_4} debug "nova instance '${instance_4}' booted on ${net_2}." vm1_id=$(nova list | grep ${instance_1} | awk '{print $2}') |