summaryrefslogtreecommitdiffstats
path: root/sdnvpn/test/functest/testcase_3.py
diff options
context:
space:
mode:
authortomsou <soth@intracom-telecom.com>2017-03-17 09:26:06 +0000
committertomsou <soth@intracom-telecom.com>2017-03-17 15:45:56 +0000
commitf368948e25f78c64c328662b52d6b139b02826b4 (patch)
tree4465f4853b6f9332b2c67382ae61089d464a259d /sdnvpn/test/functest/testcase_3.py
parent6bb2eae86a0935443d8e65df0780c3df994a669b (diff)
Create flavor for Quagga ubuntu VM
- Implement a new function in lib/utils ensures (gets or creates) a new flavor existence - Use this new function within Testcase3, in order to create a flavor big enough to start ubuntu with JIRA: SDNVPN-120 Change-Id: I5c7d9c855f083b96bfd056bb5d935baa851420c9 Signed-off-by: tomsou <soth@intracom-telecom.com>
Diffstat (limited to 'sdnvpn/test/functest/testcase_3.py')
-rw-r--r--sdnvpn/test/functest/testcase_3.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sdnvpn/test/functest/testcase_3.py b/sdnvpn/test/functest/testcase_3.py
index 8a8aa30..cc0f6b0 100644
--- a/sdnvpn/test/functest/testcase_3.py
+++ b/sdnvpn/test/functest/testcase_3.py
@@ -199,6 +199,9 @@ def main():
controller_ext_ip,
fake_fip['fip_addr'],
ext_net_mask)
+
+ test_utils.create_custom_flavor()
+
quagga_vm = test_utils.create_instance(
nova_client,
TESTCASE_CONFIG.quagga_instance_name,
@@ -206,7 +209,7 @@ def main():
quagga_net_id,
sg_id,
fixed_ip=TESTCASE_CONFIG.quagga_instance_ip,
- flavor=TESTCASE_CONFIG.quagga_instance_flavor,
+ flavor=COMMON_CONFIG.custom_flavor_name,
userdata=quagga_bootstrap_script,
compute_node=quagga_compute_node)