The nova.compute.hv_type Module

Constants and helper APIs for dealing with virtualization types

The constants provide the standard names for all known guest virtualization types. This is not to be confused with the Nova hypervisor driver types, since one driver may support multiple virtualization types and one virtualization type (eg ‘xen’) may be supported by multiple drivers (‘XenAPI’ or ‘Libvirt-Xen’).


Canonicalize the hypervisor type name

Parameters:name – hypervisor type name to canonicalize
Returns:a canonical hypervisor type name

Check if a string is a valid hypervisor type

Parameters:name – hypervisor type name to validate
Returns:True if @name is valid

Previous topic

The nova.compute.flavors Module

Next topic

The nova.compute.instance_actions Module

Project Source

This Page