diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-03-07 01:38:44 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-03-07 07:23:09 +0100 |
commit | 689243a66a3ceadbf6626c188b37ef15c57f34d3 (patch) | |
tree | 11c4eaee7d36c5a78210333d467cc168e21bc1d3 /functest/opnfv_tests/vnf/ims/heat_ims.py | |
parent | f000082521039df4bbfee2f12d6d179861f927be (diff) |
Modify the upstream Clearwater Heat files
It forces a single network for both management and signaling traffic.
It meets the OPNFV deployment requirements and the Functest SUT ones.
The security group will be improved in a second step to first quickly
fix the testcase in gambia. Private IPs may be registered in DNS to
avoid network address translations.
Change-Id: Ic19cf336ac5c2d07c52c6dd37b06271790145cf9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 39ab5b6cab5d6c664dc96bbb92781a9eed0aa41d)
Diffstat (limited to 'functest/opnfv_tests/vnf/ims/heat_ims.py')
-rw-r--r-- | functest/opnfv_tests/vnf/ims/heat_ims.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/functest/opnfv_tests/vnf/ims/heat_ims.py b/functest/opnfv_tests/vnf/ims/heat_ims.py index 0caa2b00d..1be82eef8 100644 --- a/functest/opnfv_tests/vnf/ims/heat_ims.py +++ b/functest/opnfv_tests/vnf/ims/heat_ims.py @@ -49,11 +49,7 @@ class HeatIms(singlevm.VmReady2): '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'} + 'private_mgmt_net_pool_end': '192.168.100.253'} def __init__(self, **kwargs): """Initialize HeatIms testcase object.""" @@ -91,6 +87,9 @@ class HeatIms(singlevm.VmReady2): self.clearwater = None self.role = None + def create_network_resources(self): + pass + def execute(self): # pylint: disable=too-many-locals,too-many-statements """ @@ -152,12 +151,10 @@ class HeatIms(singlevm.VmReady2): parameters = self.vnf['parameters'] parameters['public_mgmt_net_id'] = self.ext_net.id - parameters['public_sig_net_id'] = self.ext_net.id parameters['flavor'] = self.flavor.name parameters['image'] = self.image.name 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") |