summaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorMichael Pauls <michael.pauls@fokus.fraunhofer.de>2017-10-02 19:36:42 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2017-10-03 06:31:55 +0000
commit625f8ba769a6f9c897fa4f2dd94054edc7073540 (patch)
tree99b86fc19f53e56503d318339ab493901c780f79 /functest
parentb7f390c91994cbcebac60e55f32a543cd4d46c1c (diff)
Add icmp rules for clearwaterims case
icmp rules must be enabled since a ping is used internally to check that other components are up and reachable Change-Id: I1ae3c301f30455c57193ddfe1757e971f5612c18 Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de> (cherry picked from commit 4a27c90843abd3a8d002e37f0f9f22307f2ec9fc)
Diffstat (limited to 'functest')
-rw-r--r--functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
index 71b7a993b..2cfc2a5d3 100644
--- a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
+++ b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
@@ -271,6 +271,16 @@ 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))
security_group = OpenStackSecurityGroup(
self.snaps_creds,
SecurityGroupSettings(