diff options
author | 2016-10-14 14:27:43 +0000 | |
---|---|---|
committer | 2016-10-14 14:27:43 +0000 | |
commit | 91acddf71dc4fc48506dddc95621705cbe94ffaf (patch) | |
tree | 27a0707500a61bdf960343f173da518c58ecc236 /testcases/features/sfc/sfc_colorado1.py | |
parent | 585c0da9fa983896292eb89445fdcc238d57e221 (diff) | |
parent | bc72396bf41892ad31f0680da80c6ef347a0ba6b (diff) |
Merge "Spawn instances in nova availability zone"
Diffstat (limited to 'testcases/features/sfc/sfc_colorado1.py')
-rwxr-xr-x | testcases/features/sfc/sfc_colorado1.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/testcases/features/sfc/sfc_colorado1.py b/testcases/features/sfc/sfc_colorado1.py index 2e8d81611..ef3a489cf 100755 --- a/testcases/features/sfc/sfc_colorado1.py +++ b/testcases/features/sfc/sfc_colorado1.py @@ -172,10 +172,12 @@ def main(): logger.debug( "Configuration:\n name=%s \n flavor=%s \n image=%s \n " "network=%s \n" % (INSTANCE_NAME, FLAVOR, image_id, network_id)) - instance = os_utils.create_instance_and_wait_for_active(FLAVOR, - image_id, - network_id, - INSTANCE_NAME) + instance = os_utils.create_instance_and_wait_for_active( + FLAVOR, + image_id, + network_id, + INSTANCE_NAME, + av_zone='nova') if instance is None: logger.error("Error while booting instance.") @@ -221,7 +223,8 @@ def main(): FLAVOR, image_id, network_id, - INSTANCE_NAME_2) + INSTANCE_NAME_2, + av_zone='nova') if instance_2 is None: logger.error("Error while booting instance.") |