diff options
author | Zuul <zuul@review.openstack.org> | 2018-03-14 09:39:41 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-03-14 09:39:41 +0000 |
commit | 734b2e06b3dc9a2e072721591a071bce91d6ed9b (patch) | |
tree | d0895e8e281f566661134991b07ef478e3a2f3eb | |
parent | 720c1a7d6d7917da45dcf35f1034de7cafc14afb (diff) | |
parent | 589f3152691a9249d4122cc4b92ef929b0e5dc8a (diff) | |
download | tempest-734b2e06b3dc9a2e072721591a071bce91d6ed9b.tar.gz |
Merge "Add network internal connectivity check to VMs"
-rw-r--r-- | tempest/scenario/test_network_basic_ops.py | 7 |
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, |