summaryrefslogtreecommitdiffstats
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:48:06 +0100
commit8795c91f2b99dc17fc282e08d604f36ddee2409a (patch)
tree572ab97327127e5fb492179f224951bebeb6236a
parentadf4c2a47354f741f8f077e9b782f3c2e1343922 (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(