Virtualization

Compute

Documentation for the compute manager and related files. For reading about a specific virtualization backend, read Drivers.

The nova.compute.manager Module

The nova.virt.connection Module

Abstraction of the underlying virtualization API.

get_connection(read_only=False)

Returns an object representing the connection to a virtualization platform, or to an on-demand bare-metal provisioning platform.

This could be nova.virt.fake.FakeConnection in test mode, a connection to KVM, QEMU, or UML via libvirt_conn, or a connection to XenServer or Xen Cloud Platform via xenapi. Other platforms are also supported.

Any object returned here must conform to the interface documented by FakeConnection.

Related flags

Connection_type :
 

A string literal that falls through an if/elif structure to determine what virtualization mechanism to use. Values may be

  • fake
  • libvirt
  • xenapi
  • vmwareapi
  • baremetal

The nova.compute.disk Module

The nova.virt.images Module

The nova.compute.instance_types Module

The nova.compute.power_state Module

Drivers

The nova.virt.libvirt_conn Driver

The nova.virt.xenapi Driver

The nova.virt.fake Driver

Tests

The compute_unittest Module

The virt_unittest Module