diff options
author | Romanos Skiadas <rski@intracom-telecom.com> | 2016-12-07 14:11:16 +0200 |
---|---|---|
committer | Romanos Skiadas <rski@intracom-telecom.com> | 2016-12-13 15:35:52 +0200 |
commit | ac65b2e59e4e27b005f4541eddd36fe811bb854b (patch) | |
tree | c7ffd4fb744b48d838f78e515a9fec84c4c38835 /test/functest/utils.py | |
parent | e01762afb78c7c4938ce16d52b7f47fdbb4ed4dc (diff) |
Testcase for router/FloatingIP & net assoc mutual exclusivity
A testcase for ODL Bug 6962, testing whether a subnet with a router can be
network associated:
- Create two VMs, each in a subnet with a router
- Network assoc the two networks in a VPN iRT=eRT
- Try to ping from one VM to the other
- Assign a floating IP to a VM
- Ping it
JIRA: SDNVPN-88
Change-Id: I464f62b8bba55bc5d162071406637f6be846f223
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
Diffstat (limited to 'test/functest/utils.py')
-rw-r--r-- | test/functest/utils.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/functest/utils.py b/test/functest/utils.py index 90dfe93..cbfc88d 100644 --- a/test/functest/utils.py +++ b/test/functest/utils.py @@ -290,3 +290,14 @@ def assert_and_get_compute_nodes(nova_client, required_node_number=2): logger.debug("Compute nodes: %s" % compute_nodes) return compute_nodes + + +def open_icmp_ssh(neutron_client, security_group_id): + os_utils.create_secgroup_rule(neutron_client, + security_group_id, + 'ingress', + 'icmp') + os_utils.create_secgroup_rule(neutron_client, + security_group_id, + 'tcp', + 80, 80) |