From a858f0276fc482861c4bb740daedfe1b46be1c5e Mon Sep 17 00:00:00 2001 From: George Paraskevopoulos Date: Mon, 26 Sep 2016 09:46:46 +0300 Subject: SFC test: Add port 80 to security groups Change-Id: If5772b356beb19b7d2f8a0ae9278146bc2e528e3 Signed-off-by: George Paraskevopoulos --- testcases/features/sfc/sfc.py | 8 ++++++++ testcases/features/sfc/sfc_colorado1.py | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py index ec1720003..2eb56ac15 100755 --- a/testcases/features/sfc/sfc.py +++ b/testcases/features/sfc/sfc.py @@ -160,6 +160,14 @@ def main(): 'egress', 'tcp', port_range_min=22, port_range_max=22) + os_utils.create_secgroup_rule(neutron_client, sg['id'], + 'ingress', 'tcp', + port_range_min=80, + port_range_max=80) + os_utils.create_secgroup_rule(neutron_client, sg['id'], + 'egress', 'tcp', + port_range_min=80, + port_range_max=80) # boot INSTANCE logger.info("Creating instance '%s'..." % INSTANCE_NAME) diff --git a/testcases/features/sfc/sfc_colorado1.py b/testcases/features/sfc/sfc_colorado1.py index 103d10b18..f40b8b503 100755 --- a/testcases/features/sfc/sfc_colorado1.py +++ b/testcases/features/sfc/sfc_colorado1.py @@ -159,6 +159,14 @@ def main(): 'egress', 'tcp', port_range_min=22, port_range_max=22) + os_utils.create_secgroup_rule(neutron_client, sg['id'], + 'ingress', 'tcp', + port_range_min=80, + port_range_max=80) + os_utils.create_secgroup_rule(neutron_client, sg['id'], + 'egress', 'tcp', + port_range_min=80, + port_range_max=80) iterator = 0 while(iterator < 6): -- cgit 1.2.3-korg