neutron/neutron/tests/unit/services/trunk/drivers
Nate Johnston 25ab89f7d3 Do not delete trunk bridges if service port attached
When a deployment has instance ports that are neutron trunk ports with
DPDK vhu in vhostuserclient mode, when the instance reboots nova will
delete the ovs port and then recreate when the host comes back from
reboot.  This quick transition change can trigger a race condition that
causes the tbr trunk bridge to be deleted after the port has been
recreated.  See the bug for more details.

This change mitigates the race condition by adding a check for active
service ports within the trunk port deletion function.

Change-Id: I70b9c26990e6902f8888449bfd7483c25e5bff46
Closes-Bug: #1807239
(cherry picked from commit bd2a1bc6c3)
2018-12-17 12:18:44 +00:00
..
linuxbridge Adopt hacking 1.1.0 2018-07-05 11:31:40 +09:00
openvswitch Do not delete trunk bridges if service port attached 2018-12-17 12:18:44 +00:00
__init__.py Add scaffolding for trunk plugin/server-side driver integration 2016-08-04 08:34:20 -07:00