remove icmp rules from secgroups 93/43793/1
authorMichael Pauls <michael.pauls@fokus.fraunhofer.de>
Fri, 29 Sep 2017 11:03:00 +0000 (13:03 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Sun, 1 Oct 2017 15:28:29 +0000 (15:28 +0000)
Change-Id: I8f7d2170eee9777be6455d38eaff703338b155fa
Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
(cherry picked from commit c93ae73855ba928eb6661ac2468c5a0bae7c5506)

functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
functest/opnfv_tests/vnf/ims/orchestra_openims.py

index 944d50a..71b7a99 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 7754154..6192cc5 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(