diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2016-09-26 16:39:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-09-26 16:39:25 +0000 |
commit | b41382362656c76bea5d79be5a78e0523a88fe9b (patch) | |
tree | d617a84eb69d5c79eee4cc507fb8c149beeb96a4 /testcases/features | |
parent | 702a991e4a24320b99cd86525394089de724e7cf (diff) | |
parent | a858f0276fc482861c4bb740daedfe1b46be1c5e (diff) |
Merge "SFC test: Add port 80 to security groups"
Diffstat (limited to 'testcases/features')
-rwxr-xr-x | testcases/features/sfc/sfc.py | 8 | ||||
-rwxr-xr-x | testcases/features/sfc/sfc_colorado1.py | 8 |
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): |