aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2016-09-26 09:46:46 +0300
committerGeorge Paraskevopoulos <geopar@intracom-telecom.com>2016-09-26 12:50:22 +0300
commita858f0276fc482861c4bb740daedfe1b46be1c5e (patch)
treed5b4900cf54092f1078159dddb2264b9d4dd1b4e /testcases/features
parent1b7f3d721086d5d645bd968387a523f9df0c8c63 (diff)
SFC test: Add port 80 to security groups
Change-Id: If5772b356beb19b7d2f8a0ae9278146bc2e528e3 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'testcases/features')
-rwxr-xr-xtestcases/features/sfc/sfc.py8
-rwxr-xr-xtestcases/features/sfc/sfc_colorado1.py8
2 files changed, 16 insertions, 0 deletions
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):