remove icmp rules from secgroups 09/43609/3
authorMichael Pauls <michael.pauls@fokus.fraunhofer.de>
Fri, 29 Sep 2017 11:03:00 +0000 (13:03 +0200)
committerMichael Pauls <michael.pauls@fokus.fraunhofer.de>
Fri, 29 Sep 2017 12:28:56 +0000 (14:28 +0200)
Change-Id: I8f7d2170eee9777be6455d38eaff703338b155fa
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
functest/opnfv_tests/vnf/ims/orchestra_openims.py

index 6a11160..3c3cb40 100644 (file)
@@ -271,31 +271,6 @@ class ClearwaterImsVnf(vnf.VnfOnBoarding):
                 protocol=Protocol.udp,
                 port_range_min=1,
                 port_range_max=65535))
-        sg_rules.append(
-            SecurityGroupRuleSettings(
-                sec_grp_name="orchestra-sec-group-allowall",
-                direction=Direction.ingress,
-                protocol=Protocol.icmp))
-        sg_rules.append(
-            SecurityGroupRuleSettings(
-                sec_grp_name="orchestra-sec-group-allowall",
-                direction=Direction.egress,
-                protocol=Protocol.icmp))
-        # sg_rules.append(
-        #     SecurityGroupRuleSettings(
-        #         sec_grp_name="orchestra-sec-group-allowall",
-        #         direction=Direction.ingress,
-        #         protocol=Protocol.icmp,
-        #         port_range_min=-1,
-        #         port_range_max=-1))
-        # sg_rules.append(
-        #     SecurityGroupRuleSettings(
-        #         sec_grp_name="orchestra-sec-group-allowall",
-        #         direction=Direction.egress,
-        #         protocol=Protocol.icmp,
-        #         port_range_min=-1,
-        #         port_range_max=-1))
-
         security_group = OpenStackSecurityGroup(
             self.snaps_creds,
             SecurityGroupSettings(
index 0821e42..8a638e1 100644 (file)
@@ -266,31 +266,6 @@ class OpenImsVnf(vnf.VnfOnBoarding):
                 protocol=Protocol.udp,
                 port_range_min=1,
                 port_range_max=65535))
-        sg_rules.append(
-            SecurityGroupRuleSettings(
-                sec_grp_name="orchestra-sec-group-allowall",
-                direction=Direction.ingress,
-                protocol=Protocol.icmp))
-        sg_rules.append(
-            SecurityGroupRuleSettings(
-                sec_grp_name="orchestra-sec-group-allowall",
-                direction=Direction.egress,
-                protocol=Protocol.icmp))
-        # sg_rules.append(
-        #     SecurityGroupRuleSettings(
-        #         sec_grp_name="orchestra-sec-group-allowall",
-        #         direction=Direction.ingress,
-        #         protocol=Protocol.icmp,
-        #         port_range_min=-1,
-        #         port_range_max=-1))
-        # sg_rules.append(
-        #     SecurityGroupRuleSettings(
-        #         sec_grp_name="orchestra-sec-group-allowall",
-        #         direction=Direction.egress,
-        #         protocol=Protocol.icmp,
-        #         port_range_min=-1,
-        #         port_range_max=-1))
-
         security_group = OpenStackSecurityGroup(
             self.snaps_creds,
             SecurityGroupSettings(