summaryrefslogtreecommitdiffstats
path: root/testcases/features/sfc/sfc.py
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2016-10-13 14:42:48 +0300
committerJose Lausuch <jose.lausuch@ericsson.com>2016-10-14 14:27:53 +0000
commite6186ca89dbbd230f655e827624e36eafcb150ac (patch)
treeb686f73a72c8fd4ec811e170f8a9d559f4c4bac6 /testcases/features/sfc/sfc.py
parentb645377817ed4bf8038b29b07add0b8794d9bdb0 (diff)
Spawn instances in nova availability zone
Change-Id: I9dc3a00b3c96cf23916388a52efd610e4649dfff Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com> (cherry picked from commit bc72396bf41892ad31f0680da80c6ef347a0ba6b)
Diffstat (limited to 'testcases/features/sfc/sfc.py')
-rwxr-xr-xtestcases/features/sfc/sfc.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py
index f96ee43b2..8905b5607 100755
--- a/testcases/features/sfc/sfc.py
+++ b/testcases/features/sfc/sfc.py
@@ -175,7 +175,8 @@ def main():
instance = os_utils.create_instance_and_wait_for_active(FLAVOR,
image_id,
network_id,
- INSTANCE_NAME)
+ INSTANCE_NAME,
+ av_zone='nova')
if instance is None:
logger.error("Error while booting instance.")
@@ -215,7 +216,8 @@ def main():
instance_2 = os_utils.create_instance_and_wait_for_active(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.")