os-vif/releasenotes/notes/fix-vif-openvswitch-fa0d19be9dd668e1.yaml
Rawlin Peters d5b119ba37 Don't create extraneous linux bridge/veth pair for VIFOpenVSwitch
VIFOpenVSwitch vifs will be booted by libvirt directly on the target
bridge. Don't create an extraneous linux bridge with a veth pair
connection to the target bridge.

VIFOpenVSwitch inherits from VIFBridge, so the following check causes
_plug_bridge() to be incorrectly executed for vifs of type
VIFOpenVSwitch:

    if isinstance(vif, objects.vif.VIFBridge):
        self._plug_bridge(vif, instance_info)

Fix this to check for instances of VIFOpenVSwitch first and do nothing
in that case.

Closes-Bug: #1595614
Change-Id: I447395cc50aa8fc21fa714b76f4cb1f5e79846ae
2016-06-23 10:51:25 -06:00

7 lines
200 B
YAML

---
fixes:
- The ovs plugin now handles vifs of type VIFOpenVSwitch
properly. Before, it would improperly create an extraneous
linux bridge and veth pair attached to the target OVS bridge.