OSC is the future and it's available now.
Change-Id: Ib0dac761673a0c4f05a328ee530018e8bb269c4c
| ... | ... |
@@ -193,11 +193,11 @@ function configure_tempest {
|
| 193 | 193 |
available_flavors=$(nova flavor-list) |
| 194 | 194 |
if [[ -z "$DEFAULT_INSTANCE_TYPE" ]]; then |
| 195 | 195 |
if [[ ! ( $available_flavors =~ 'm1.nano' ) ]]; then |
| 196 |
- nova flavor-create m1.nano 42 64 0 1 |
|
| 196 |
+ openstack flavor create --id 42 --ram 64 --disk 0 --vcpus 1 m1.nano |
|
| 197 | 197 |
fi |
| 198 | 198 |
flavor_ref=42 |
| 199 | 199 |
if [[ ! ( $available_flavors =~ 'm1.micro' ) ]]; then |
| 200 |
- nova flavor-create m1.micro 84 128 0 1 |
|
| 200 |
+ openstack flavor create --id 84 --ram 128 --disk 0 --vcpus 1 m1.micro |
|
| 201 | 201 |
fi |
| 202 | 202 |
flavor_ref_alt=84 |
| 203 | 203 |
else |
| ... | ... |
@@ -398,7 +398,7 @@ function configure_tempest {
|
| 398 | 398 |
# build a specialized heat flavor |
| 399 | 399 |
available_flavors=$(nova flavor-list) |
| 400 | 400 |
if [[ ! ( $available_flavors =~ 'm1.heat' ) ]]; then |
| 401 |
- nova flavor-create m1.heat 451 512 0 1 |
|
| 401 |
+ openstack flavor create --id 451 --ram 512 --disk 0 --vcpus 1 m1.heat |
|
| 402 | 402 |
fi |
| 403 | 403 |
iniset $TEMPEST_CONFIG orchestration instance_type "m1.heat" |
| 404 | 404 |
fi |