The nova.tests.fakelibvirt Module

class Connection(uri, readonly)

Bases: object

compareCPU(xml, flags)
createXML(xml, flags)
defineXML(xml)
getCapabilities()
getHostname()
getInfo()
getLibVersion()
getType()
getVersion()
listDomainsID()
lookupByID(id)
lookupByName(name)
numOfDomains()
nwfilterDefineXML(xml)
nwfilterLookupByName(name)
class Domain(connection, xml, running=False, transient=False)

Bases: object

UUIDString()
XMLDesc(flags)
attachDevice(xml)
blockStats(device)
create()
createWithFlags(flags)
destroy()
detachDevice(xml)
hasManagedSaveImage(flags)
info()
interfaceStats(device)
isActive()
managedSave(flags)
managedSaveRemove(flags)
maxMemory()
memoryStats()
migrateToURI(desturi, flags, dname, bandwidth)
name()
reset(flags)
resume()
shutdown()
snapshotCreateXML(xml, flags)
suspend()
undefine()
undefineFlags(flags)
vcpus()
class DomainSnapshot(name, domain)

Bases: object

delete(flags)
class NWFilter(connection, xml)

Bases: object

undefine()
exception libvirtError(msg, error_code=950, error_domain=100)

Bases: exceptions.Exception

get_error_code()
get_error_domain()
openAuth(uri, auth, flags)
openReadOnly(uri)
virConnect

alias of Connection

virDomain

alias of Domain

Previous topic

The nova.tests.fake_volume Module

Next topic

The nova.tests.glance.stubs Module

This Page