Repository URL to install this package:
|
Version:
4.0.105 ▾
|
ó
±EYc @ s_ d Z d d l m Z d Z d Z d Z d Z e e e e g Z d Z d Z d Z
d
S( s Possible vm modes for instances.
Compute instance vm modes represent the host/guest ABI used for the
virtual machine / container. Individual hypervisors may support
multiple different vm modes per host. Available vm modes for a hypervisor
driver may also vary according to the architecture it is running on.
The 'vm_mode' parameter can be set against an instance to
choose what sort of VM to boot.
iÿÿÿÿ( t exceptiont hvmt xent umlt exec C s | j } t | S( s Get the vm mode for an instance
:param instance: instance object to query
:returns: canonicalized vm mode for the instance
( t vm_modet canonicalize( t instancet mode( ( sI /home/tvault/.virtenv/lib/python2.7/site-packages/nova/compute/vm_mode.pyt get_from_instance&