The nova.virt.image.model Module

class Image(format)

Bases: object

Base class for all image types.

All image types have a format, though for many of them only a subset of formats will commonly be used. For example, block devices are almost always going to be FORMAT_RAW. Though it is in fact possible from a technical POV to store a qcow2 data inside a block device, Nova does not (at this time) make use of such possibilities.

class LocalBlockImage(path)

Bases: nova.virt.image.model.LocalImage

Class for images that are block devices on the local host

class LocalFileImage(path, format)

Bases: nova.virt.image.model.LocalImage

Class for images that are files on a locally accessible filesystem

class LocalImage(path, format)

Bases: nova.virt.image.model.Image

Class for images that are paths within the local filesystem

class RBDImage(name, pool, user, password, servers)

Bases: nova.virt.image.model.Image

Class for images that are volumes on a remote RBD server

Previous topic

The nova.virt.hyperv.volumeops Module

Next topic

The nova.virt.imagecache Module

Project Source

This Page