diff options
-rw-r--r-- | docker/Dockerfile | 2 | ||||
-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 |
4 files changed, 20 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 9ff0f4f6..bb873b35 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -53,7 +53,7 @@ git \ gcc \ wget \ python-dev \ -python-mockĀ \ +python-mock \ python-pip \ bundler \ postgresql \ diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py index 96ea3ab3..62eab0ee 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 8dd6c808..d31541d1 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 a3073177..adb9a44b 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 } |