diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-09-27 10:02:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-27 10:02:15 +0000 |
commit | 0e7ef6e103809f9f13c2b533eb589c3ac9c3fe14 (patch) | |
tree | a96bb0bc1886f1b97c776e526dea7bd3adfceefb /testcases/features/sfc/sfc.py | |
parent | 84ce9e79698a413a26ce283212350f08a7575a55 (diff) | |
parent | 40f68e35389cf19d3fb200d1655ecb055c85d1eb (diff) |
Merge "Move sfc custom flavor creation"
Diffstat (limited to 'testcases/features/sfc/sfc.py')
-rwxr-xr-x | testcases/features/sfc/sfc.py | 6 |
1 files changed, 6 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( |