commit d595c3606c9c1c1829e3e0b283fd3409d74f1cde
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Oct 16 14:38:11 2018 +0100
Make connectivity test less backend dependent
The test_connectivity_between_vms_on_different_networks should assert
connectivity between different VMS on different networks but the test is
also asserting that one VM can ping the services port (such as DHCP)
running on the other network and that may not be the case for all
backends.
OVN for example uses a "localport" type to implement a
DHCP port. That port type in OVN does not allow traffic
outside the network it belongs to [0] which is causing the test
test_connectivity_between_vms_on_different_networks to fail when used
with networking-ovn.
This patch is modifying the test to only ping the relevant ports when
asserting that the VMs have connectivity with each other.
Reviewed: https:/ /review. openstack. org/611068 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=d595c3606c9 c1c1829e3e0b283 fd3409d74f1cde
Committed: https:/
Submitter: Zuul
Branch: master
commit d595c3606c9c1c1 829e3e0b283fd34 09d74f1cde
Author: Lucas Alvares Gomes <email address hidden>
Date: Tue Oct 16 14:38:11 2018 +0100
Make connectivity test less backend dependent
The test_connectivi ty_between_ vms_on_ different_ networks should assert
connectivity between different VMS on different networks but the test is
also asserting that one VM can ping the services port (such as DHCP)
running on the other network and that may not be the case for all
backends.
OVN for example uses a "localport" type to implement a connectivity_ between_ vms_on_ different_ networks to fail when used
DHCP port. That port type in OVN does not allow traffic
outside the network it belongs to [0] which is causing the test
test_
with networking-ovn.
This patch is modifying the test to only ping the relevant ports when
asserting that the VMs have connectivity with each other.
[0] /github. com/openvswitch /ovs/blob/ d9677a1f0eaf635 2c44af3ba3a4c2f af76a2a39b/ ovn/controller/ physical. c#L1176- L1182
https:/
Closes-Bug: #1798317 f8452b4aed9bf46 24455a3b050
Change-Id: Ia4a6ee65d3d737