From 91929a9263638847491f1423eebfdcd528aa08cc Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 14 Feb 2018 14:14:48 +0100 Subject: Fix typos in cloudify_ims MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5d29b3e58cae7e9a334ec6f264cdb5e280860d97 Signed-off-by: Cédric Ollivier --- functest/opnfv_tests/vnf/ims/cloudify_ims.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'functest') diff --git a/functest/opnfv_tests/vnf/ims/cloudify_ims.py b/functest/opnfv_tests/vnf/ims/cloudify_ims.py index 60434ca9..a4144ad9 100644 --- a/functest/opnfv_tests/vnf/ims/cloudify_ims.py +++ b/functest/opnfv_tests/vnf/ims/cloudify_ims.py @@ -63,8 +63,6 @@ class CloudifyIms(clearwater_ims_base.ClearwaterOnBoardingBase): except Exception: raise Exception("VNF config file not found") - self.snaps_creds = '' - config_file = os.path.join(self.case_dir, self.config) self.orchestrator = dict( requirements=get_config("orchestrator.requirements", config_file), @@ -177,14 +175,14 @@ class CloudifyIms(clearwater_ims_base.ClearwaterOnBoardingBase): direction=Direction.ingress, protocol=Protocol.udp, port_range_min=1, port_range_max=65535)) - securit_group_creator = OpenStackSecurityGroup( + security_group_creator = OpenStackSecurityGroup( self.snaps_creds, SecurityGroupConfig( name="sg-cloudify-manager", rule_settings=sg_rules)) - securit_group_creator.create() - self.created_object.append(securit_group_creator) + security_group_creator.create() + self.created_object.append(security_group_creator) # orchestrator VM flavor self.__logger.info("Get or create flavor for cloudify manager vm ...") @@ -209,7 +207,8 @@ class CloudifyIms(clearwater_ims_base.ClearwaterOnBoardingBase): name='cloudify_manager', flavor=flavor_settings.name, port_settings=[port_settings], - security_group_names=[securit_group_creator.sec_grp_settings.name], + security_group_names=[ + security_group_creator.sec_grp_settings.name], floating_ip_settings=[FloatingIpConfig( name='cloudify_manager_fip', port_name=port_settings.name, -- cgit 1.2.3-korg