The nova.virt.libvirt.config Module

Configuration for libvirt objects.

Classes to represent the configuration of various libvirt objects and support conversion to/from XML. These classes are solely concerned by providing direct Object <-> XML document conversions. No policy or operational decisions should be made by code in these classes. Such policy belongs in the ‘designer.py’ module which provides simplified helpers for populating up config object instances.

class LibvirtConfigCPU(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

add_feature(feat)
format_dom()
parse_dom(xmldoc)
class LibvirtConfigCPUFeature(name=None, **kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

format_dom()
parse_dom(xmldoc)
class LibvirtConfigCaps(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

format_dom()
parse_dom(xmldoc)
class LibvirtConfigCapsGuest(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

format_dom()
parse_dom(xmldoc)
class LibvirtConfigCapsHost(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

format_dom()
parse_dom(xmldoc)
class LibvirtConfigGuest(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

add_device(dev)
format_dom()
set_clock(clk)
class LibvirtConfigGuestCPU(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigCPU

format_dom()
class LibvirtConfigGuestCPUFeature(name=None, **kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigCPUFeature

format_dom()
class LibvirtConfigGuestChannel(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestCharBase

format_dom()
class LibvirtConfigGuestChar(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestCharBase

format_dom()
class LibvirtConfigGuestCharBase(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestDevice

format_dom()
class LibvirtConfigGuestClock(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

add_timer(tm)
format_dom()
class LibvirtConfigGuestConsole(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestChar

class LibvirtConfigGuestDevice(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

class LibvirtConfigGuestDisk(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestDevice

format_dom()
class LibvirtConfigGuestFilesys(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestDevice

format_dom()
class LibvirtConfigGuestGraphics(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestDevice

format_dom()
class LibvirtConfigGuestInput(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestDevice

format_dom()
class LibvirtConfigGuestInterface(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestDevice

add_filter_param(key, value)
add_vport_param(key, value)
format_dom()
class LibvirtConfigGuestSMBIOS(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

format_dom()
class LibvirtConfigGuestSerial(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigGuestChar

class LibvirtConfigGuestSnapshot(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

format_dom()
class LibvirtConfigGuestSysinfo(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

format_dom()
class LibvirtConfigGuestTimer(**kwargs)

Bases: nova.virt.libvirt.config.LibvirtConfigObject

format_dom()
class LibvirtConfigObject(**kwargs)

Bases: object

format_dom()
parse_dom(xmldoc)
parse_str(xmlstr)
to_xml(pretty_print=True)

Previous topic

The nova.virt.libvirt.blockinfo Module

Next topic

The nova.virt.libvirt.designer Module

This Page