The nova.virt.libvirt.designer Module

Policy based configuration of libvirt objects

This module provides helper APIs for populating the config.py classes based on common operational needs / policies

set_vif_bandwidth_config(conf, inst_type)

Config vif inbound/outbound bandwidth limit. parameters are set in instance_type_extra_specs table, key is in the format quota:vif_inbound_average.

set_vif_guest_frontend_config(conf, mac, model, driver)

Populate a LibvirtConfigGuestInterface instance with guest frontend details

set_vif_host_backend_802qbg_config(conf, devname, managerid, typeid, typeidversion, instanceid, tapname=None)

Populate a LibvirtConfigGuestInterface instance with host backend details for an 802.1qbg device

set_vif_host_backend_802qbh_config(conf, devname, profileid, tapname=None)

Populate a LibvirtConfigGuestInterface instance with host backend details for an 802.1qbh device

set_vif_host_backend_bridge_config(conf, brname, tapname=None)

Populate a LibvirtConfigGuestInterface instance with host backend details for a software bridge

set_vif_host_backend_ethernet_config(conf, tapname)

Populate a LibvirtConfigGuestInterface instance with host backend details for an externally configured host device.

NB use of this configuration is discouraged by libvirt project and will mark domains as ‘tainted’

set_vif_host_backend_ovs_config(conf, brname, interfaceid, tapname=None)

Populate a LibvirtConfigGuestInterface instance with host backend details for an OpenVSwitch bridge

Previous topic

The nova.virt.libvirt.config Module

Next topic

The nova.virt.libvirt.driver Module

This Page