aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-02-14 14:14:48 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-02-15 17:16:22 +0100
commit91929a9263638847491f1423eebfdcd528aa08cc (patch)
treea76cfff8926dab8e4bb849f29b2b9785988092f8
parent117a1db3e15f348ef7c41e2b697849755fdf2b35 (diff)
Fix typos in cloudify_ims
Change-Id: I5d29b3e58cae7e9a334ec6f264cdb5e280860d97 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/vnf/ims/cloudify_ims.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/functest/opnfv_tests/vnf/ims/cloudify_ims.py b/functest/opnfv_tests/vnf/ims/cloudify_ims.py
index 60434ca93..a4144ad95 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,