summaryrefslogtreecommitdiffstats
path: root/tests/functest/odl-sfc/sfc.py
diff options
context:
space:
mode:
authorManuel Buil <manuelbuil87@gmail.com>2016-12-13 14:55:37 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-13 14:55:37 +0000
commitb7db5146456f580e8596ef47cf7aee8e0ac18598 (patch)
treec381469f48326ce61024bc5c3ef8c58fe87f4509 /tests/functest/odl-sfc/sfc.py
parent4d3f083c051b74bd575a333a5853fdd85bbeeafe (diff)
parent824e0073bd59b9cd81b23ac1ae7b4afaf5b9e5e3 (diff)
Merge "Move flavor creations params to config file"
Diffstat (limited to 'tests/functest/odl-sfc/sfc.py')
-rwxr-xr-xtests/functest/odl-sfc/sfc.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/functest/odl-sfc/sfc.py b/tests/functest/odl-sfc/sfc.py
index 36e6fa84..5d1024db 100755
--- a/tests/functest/odl-sfc/sfc.py
+++ b/tests/functest/odl-sfc/sfc.py
@@ -55,7 +55,10 @@ def main():
test_utils.download_image(COMMON_CONFIG.url,
COMMON_CONFIG.image_path)
_, custom_flv_id = os_utils.get_or_create_flavor(
- COMMON_CONFIG.flavor, 1500, 10, 1, public=True)
+ COMMON_CONFIG.flavor,
+ COMMON_CONFIG.ram_size_in_mb,
+ COMMON_CONFIG.disk_size_in_gb,
+ COMMON_CONFIG.vcpu_count, public=True)
if not custom_flv_id:
logger.error("Failed to create custom flavor")
sys.exit(1)