summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-03-14 09:39:41 +0000
committerGerrit Code Review <review@openstack.org>2018-03-14 09:39:41 +0000
commit734b2e06b3dc9a2e072721591a071bce91d6ed9b (patch)
treed0895e8e281f566661134991b07ef478e3a2f3eb
parent720c1a7d6d7917da45dcf35f1034de7cafc14afb (diff)
parent589f3152691a9249d4122cc4b92ef929b0e5dc8a (diff)
downloadtempest-734b2e06b3dc9a2e072721591a071bce91d6ed9b.tar.gz
Merge "Add network internal connectivity check to VMs"
-rw-r--r--tempest/scenario/test_network_basic_ops.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tempest/scenario/test_network_basic_ops.py b/tempest/scenario/test_network_basic_ops.py
index ff8837f8d..fd9c98501 100644
--- a/tempest/scenario/test_network_basic_ops.py
+++ b/tempest/scenario/test_network_basic_ops.py
@@ -304,16 +304,19 @@ class TestNetworkBasicOps(manager.NetworkScenarioTest):
- ping internal gateway and DHCP port, implying in-tenant connectivity
pinging both, because L3 and DHCP agents might be on different nodes
+ - ping internal compute port, implying connectivity to other VMs on
+ this network
"""
floating_ip, server = self.floating_ip_tuple
# get internal ports' ips:
- # get all network ports in the new network
+ # get all network and compute ports in the new network
internal_ips = (
p['fixed_ips'][0]['ip_address'] for p in
self.os_admin.ports_client.list_ports(
tenant_id=server['tenant_id'],
network_id=network['id'])['ports']
- if p['device_owner'].startswith('network')
+ if p['device_owner'].startswith('network') or
+ p['device_owner'].startswith('compute')
)
self._check_server_connectivity(floating_ip,