Skip Compute/Neutron owned ports for overlay test

This commit is contained in:
Frode Nordahl
2018-11-27 03:36:34 +01:00
parent 4721d21ba2
commit 39aed0fa99

View File

@@ -42,6 +42,9 @@ class NeutronOpenvSwitchOverlayTest(unittest.TestCase):
ports = resp['ports']
host_port = {}
for port in ports:
if (port['device_owner'].startswith('network:') or
port['device_owner'].startswith('compute:')):
continue
host_port[port['binding:host_id']] = port
for unit in zaza.model.get_units('neutron-openvswitch'):