diff options
Diffstat (limited to 'testcases/features')
-rwxr-xr-x | testcases/features/sfc/sfc.py | 9 | ||||
-rwxr-xr-x | testcases/features/sfc/sfc_colorado1.py | 9 | ||||
-rwxr-xr-x | testcases/features/sfc/tacker_client_install.sh | 2 |
3 files changed, 19 insertions, 1 deletions
diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py index 96ea3ab39..62eab0eef 100755 --- a/testcases/features/sfc/sfc.py +++ b/testcases/features/sfc/sfc.py @@ -175,6 +175,14 @@ def main(): for sg in secgroups: os_utils.create_secgroup_rule(neutron_client, sg['id'], + 'ingress', 'udp', + port_range_min=67, + port_range_max=68) + os_utils.create_secgroup_rule(neutron_client, sg['id'], + 'egress', 'udp', + port_range_min=67, + port_range_max=68) + os_utils.create_secgroup_rule(neutron_client, sg['id'], 'ingress', 'tcp', port_range_min=22, port_range_max=22) @@ -400,6 +408,7 @@ def main(): # SSH TO EXECUTE cmd_client logger.info("TEST STARTED") + time.sleep(70) try: ssh.connect(floatip_client, username="root", password="opnfv", timeout=2) diff --git a/testcases/features/sfc/sfc_colorado1.py b/testcases/features/sfc/sfc_colorado1.py index 8dd6c808e..d31541d13 100755 --- a/testcases/features/sfc/sfc_colorado1.py +++ b/testcases/features/sfc/sfc_colorado1.py @@ -175,6 +175,14 @@ def main(): for sg in secgroups: os_utils.create_secgroup_rule(neutron_client, sg['id'], + 'ingress', 'udp', + port_range_min=67, + port_range_max=68) + os_utils.create_secgroup_rule(neutron_client, sg['id'], + 'egress', 'udp', + port_range_min=67, + port_range_max=68) + os_utils.create_secgroup_rule(neutron_client, sg['id'], 'ingress', 'tcp', port_range_min=22, port_range_max=22) @@ -423,6 +431,7 @@ def main(): # SSH TO EXECUTE cmd_client logger.info("TEST STARTED") + time.sleep(70) try: ssh.connect(floatip_client, username="root", password="opnfv", timeout=2) diff --git a/testcases/features/sfc/tacker_client_install.sh b/testcases/features/sfc/tacker_client_install.sh index a3073177c..adb9a44be 100755 --- a/testcases/features/sfc/tacker_client_install.sh +++ b/testcases/features/sfc/tacker_client_install.sh @@ -21,7 +21,7 @@ ____EOF function envSetup() { apt-get install -y python-all debhelper fakeroot - pip install --upgrade python-keystoneclient==1.7.4 + #pip install --upgrade python-keystoneclient==1.7.4 chkPPkg stdeb } |