Previous topic

The nova.virt.vmwareapi.read_write_util Module

Next topic

The nova.virt.vmwareapi.vim Module

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.vmwareapi.vif Module

VIF drivers for VMWare.

class VMWareVlanBridgeDriver(**kwargs)

Bases: nova.virt.vif.VIFDriver

VIF Driver to setup bridge/VLAN networking using VMWare API.

ensure_vlan_bridge(session, network)

Create a vlan and bridge unless they already exist.

plug(instance, network, mapping)

Plug the VIF to specified instance using information passed. Currently we are plugging the VIF(s) during instance creation itself. We can use this method when we add support to add additional NIC to an existing instance.

unplug(instance, network, mapping)

Cleanup operations like deleting port group if no instance is associated with it.