This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.virt.libvirt.vif Module

VIF drivers for libvirt.

class nova.virt.libvirt.vif.LibvirtBridgeDriver

Bases: nova.virt.vif.VIFDriver

VIF driver for Linux bridge.

plug(instance, network, mapping)

Ensure that the bridge exists, and add VIF to it.

unplug(instance, network, mapping)

No manual unplugging required.

class nova.virt.libvirt.vif.LibvirtOpenVswitchDriver

Bases: nova.virt.vif.VIFDriver

VIF driver for Open vSwitch.

get_dev_name(_self, iface_id)
plug(instance, network, mapping)
unplug(instance, network, mapping)

Unplug the VIF from the network by deleting the port from the bridge.