class documentation
class XenHvmHypervisor(XenHypervisor):
Xen HVM hypervisor interface
Constant | ANCILLARY |
Undocumented |
Constant | ANCILLARY |
Undocumented |
Constant | PARAMETERS |
Undocumented |
Method | _ |
Create a Xen 3.1 HVM config file. |
Inherited from XenHypervisor
:
Class Method |
|
Return a command for connecting to the console of an instance. |
Static Method |
|
Decide if migration is likely to suceed for hypervisor versions. |
Method | __init__ |
Undocumented |
Method |
|
Prepare to accept an instance. |
Method |
|
Balloon an instance memory to a certain value. |
Method |
|
Finalize an instance migration. |
Method |
|
Finalize the instance migration on the source node. |
Method |
|
Get properties of all instances. |
Method |
|
Get instance properties. |
Method |
|
Get the migration status |
Method |
|
Return information about the node. |
Method |
|
Get the list of running instances. |
Method |
|
Migrate an instance to a target node. |
Method |
|
Get instance information to perform a migration. |
Method |
|
Xen-specific powercycle. |
Method |
|
Reboot an instance. |
Method |
|
Fixup running instance's state. |
Method |
|
Start an instance. |
Method |
|
Stop an instance. |
Method |
|
Verify the hypervisor. |
Method |
|
Verify if running instance (configuration) is in correct state. |
Constant | CAN |
Undocumented |
Constant | REBOOT |
Undocumented |
Constant | REBOOT |
Undocumented |
Class Method | _ |
Makes sure that the directories needed by the hypervisor exist. |
Class Method | _ |
Returns the name of the pid file for a socat process used to migrate. |
Class Method | _ |
Returns the directory holding the tap device files for a given instance. |
Class Method | _ |
Returns the name of the file containing the tap device for a given NIC |
Class Method | _ |
Kills the migration daemon if present. |
Class Method | _ |
Write the Xen config file for the instance. |
Method | _ |
Checks whether xl is enabled on an xl-capable node. |
Method | _ |
Get the config file name for an instance. |
Method | _ |
Destroy an instance if the instance exists. |
Method | _ |
Undocumented |
Method | _ |
Wrapper around module level _GetAllInstanceList . |
Method | _ |
Gather configuration details and write to disk. |
Method | _ |
Migrate an instance to a target node. |
Method | _ |
Returns the contents of the instance config file. |
Method | _ |
Remove the xen configuration file. |
Method | _ |
Rename an instance (domain). |
Method | _ |
Wrapper around utils.process.RunCmd to run Xen command. |
Method | _ |
Shutdown an instance if the instance is running. |
Method | _ |
Move the Xen config file to the log directory and return its new path. |
Method | _ |
Stop an instance. |
Method | _ |
Write the Xen config file for the instance. |
Method | _ |
Undocumented |
Constant | _DIRS |
Undocumented |
Constant | _INSTANCE |
Undocumented |
Constant | _INSTANCE |
Undocumented |
Constant | _MIGRATION |
Undocumented |
Constant | _NICS |
Undocumented |
Constant | _ROOT |
Undocumented |
Instance Variable | _cfgdir |
Undocumented |
Instance Variable | _cmd |
Undocumented |
Instance Variable | _run |
Undocumented |
Inherited from BaseHypervisor
(via XenHypervisor
):
Class Method |
|
Check the given parameters for validity. |
Class Method |
|
Return a list of ancillary files to be copied to all nodes as ancillary configuration files. |
Class Method |
|
Linux-specific powercycle method. |
Class Method |
|
Check the given parameters for validity. |
Static Method |
|
For linux systems, return actual OS information. |
Method |
|
Cleanup after a stopped instance |
Method |
|
Hot-add a device. |
Method |
|
Hot-del a device. |
Method |
|
Hot-mod a device. |
Method |
|
Checks if hotplug is supported. |
Method |
|
Verifies that hotplug is supported. |
Class Method | _ |
Check if the parameter value is a kind of value meaning unspecified. |
Static Method | _ |
Formats the verification results, given a list of errors. |
Method | _ |
Get the correct startup memory for an instance |
ANCILLARY_FILES_OPT =
¶
Undocumented
Value |
|
PARAMETERS =
¶
Undocumented
Value |
|