Trees | Indices | Help |
|
---|
|
Abstract virtualisation technology interface
The goal is that all aspects of the virtualisation technology are abstracted away from the rest of code.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
string/data (opaque) |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
objects.MigrationStatus |
|
||
integer |
|
||
Inherited from |
|
|||
|
|||
(list of absolute paths, list of absolute paths) |
|
||
|
|||
|
|||
|
|||
|
|
|||
|
|||
|
|
|||
PARAMETERS = {} a dict of parameter name: check type; the check type is a five-tuple containing: |
|||
ANCILLARY_FILES = []
|
|||
ANCILLARY_FILES_OPT = []
|
|||
boolean |
CAN_MIGRATE = False whether this hypervisor can do migration (either live or non-live) |
|
|||
Inherited from |
|
Stop an instance
|
Cleanup after a stopped instance This is an optional method, used by hypervisors that need to cleanup after an instance has been stopped.
|
Get instance properties.
|
Get properties of all instances.
|
Return information about the node.
|
Return a list of ancillary files to be copied to all nodes as ancillary configuration files.
|
Verify the hypervisor.
|
Get instance information to perform a migration. By default assume no information is needed.
|
Prepare to accept an instance. By default assume no preparation is needed.
|
Balloon an instance memory to a certain value.
|
Finalize the instance migration on the target node. Should finalize or revert any preparation done to accept the instance. Since by default we do no preparation, we also don't have anything to do
|
Migrate an instance.
|
Finalize the instance migration on the source node.
|
Get the migration status
|
Get the correct startup memory for an instance This function calculates how much memory an instance should be started with, making sure it's a value between the minimum and the maximum memory, but also trying to use no more than the current free memory on the node.
|
Check the given parameters for validity. This should check the passed set of parameters for validity. Classes should extend, not replace, this function.
|
Check the given parameters for validity. This should check the passed set of parameters for validity. Classes should extend, not replace, this function.
|
Hard powercycle a node using hypervisor specific methods. This method should hard powercycle the node, using whatever methods the hypervisor provides. Note that this means that all instances running on the node must be stopped too. |
For linux systems, return actual OS information. This is an abstraction for all non-hypervisor-based classes, where the node actually sees all the memory and CPUs via the /proc interface and standard commands. The other case if for example xen, where you only see the hardware resources via xen-specific tools.
|
Formats the verification results, given a list of errors.
|
|
PARAMETERSa dict of parameter name: check type; the check type is a five-tuple containing:
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 4 09:38:48 2014 | http://epydoc.sourceforge.net |