From 39aed0fa99f655640f27ce25ee0cb300d3439ecb Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Tue, 27 Nov 2018 03:36:34 +0100 Subject: [PATCH] Skip Compute/Neutron owned ports for overlay test --- zaza/charm_tests/neutron_openvswitch/tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zaza/charm_tests/neutron_openvswitch/tests.py b/zaza/charm_tests/neutron_openvswitch/tests.py index c3e07ea..f56ea8a 100644 --- a/zaza/charm_tests/neutron_openvswitch/tests.py +++ b/zaza/charm_tests/neutron_openvswitch/tests.py @@ -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'):