aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-02-27 21:29:23 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-02-27 21:47:38 +0100
commit42980aeb97ddb6bfbfdb22e061fd407cd0928ffe (patch)
treea160488a284a7e00fa3602e092bd2ba67299bd76
parent8ccdd625030ea8bc72138bf94b7563566843dda1 (diff)
Conform heat_ims subnets with other testcases
It will be enhanced in a second step to calculate options from configs. Change-Id: I91738e1aaad9a7049df44f734c4190def62fff91 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 96bb5dc834e3600a3bd0666f80f3298a420b37fa)
-rw-r--r--functest/opnfv_tests/vnf/ims/heat_ims.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/functest/opnfv_tests/vnf/ims/heat_ims.py b/functest/opnfv_tests/vnf/ims/heat_ims.py
index e3583595f..0caa2b00d 100644
--- a/functest/opnfv_tests/vnf/ims/heat_ims.py
+++ b/functest/opnfv_tests/vnf/ims/heat_ims.py
@@ -45,6 +45,16 @@ class HeatIms(singlevm.VmReady2):
quota_security_group_rule = 100
quota_port = 50
+ parameters = {
+ 'private_mgmt_net_cidr': '192.168.100.0/24',
+ 'private_mgmt_net_gateway': '192.168.100.254',
+ 'private_mgmt_net_pool_start': '192.168.100.1',
+ 'private_mgmt_net_pool_end': '192.168.100.253',
+ 'private_sig_net_cidr': '192.168.101.0/24',
+ 'private_sig_net_gateway': '192.168.101.254',
+ 'private_sig_net_pool_start': '192.168.101.1',
+ 'private_sig_net_pool_end': '192.168.101.253'}
+
def __init__(self, **kwargs):
"""Initialize HeatIms testcase object."""
if "case_name" not in kwargs:
@@ -148,6 +158,7 @@ class HeatIms(singlevm.VmReady2):
parameters['key_name'] = self.keypair.name
parameters['external_mgmt_dns_ip'] = env.get('NAMESERVER')
parameters['external_sig_dns_ip'] = env.get('NAMESERVER')
+ parameters.update(self.parameters)
self.__logger.info("Create Heat Stack")
self.stack = self.cloud.create_stack(