diff options
Diffstat (limited to 'testcases/features')
-rwxr-xr-x | testcases/features/sfc/sfc.py | 6 | ||||
-rwxr-xr-x | testcases/features/sfc/sfc_colorado1.py | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py index 2eb56ac1..a97ebcea 100755 --- a/testcases/features/sfc/sfc.py +++ b/testcases/features/sfc/sfc.py @@ -169,6 +169,12 @@ def main(): port_range_min=80, port_range_max=80) + _, custom_flv_id = os_utils.get_or_create_flavor( + 'custom', 1500, 10, 1, public=True) + if not custom_flv_id: + logger.error("Failed to create custom flavor") + sys.exit(1) + # boot INSTANCE logger.info("Creating instance '%s'..." % INSTANCE_NAME) logger.debug( diff --git a/testcases/features/sfc/sfc_colorado1.py b/testcases/features/sfc/sfc_colorado1.py index f40b8b50..8ae4e6ba 100755 --- a/testcases/features/sfc/sfc_colorado1.py +++ b/testcases/features/sfc/sfc_colorado1.py @@ -168,6 +168,12 @@ def main(): port_range_min=80, port_range_max=80) + _, custom_flv_id = os_utils.get_or_create_flavor( + 'custom', 1500, 10, 1, public=True) + if not custom_flv_id: + logger.error("Failed to create custom flavor") + sys.exit(1) + iterator = 0 while(iterator < 6): # boot INSTANCE |