class documentation

class XenPvmHypervisor(XenHypervisor):

View In Hierarchy

Xen PVM hypervisor interface

Constant PARAMETERS Undocumented
Method _GetConfig Write the Xen config file for the instance.

Inherited from XenHypervisor:

Class Method GetInstanceConsole Return a command for connecting to the console of an instance.
Static Method VersionsSafeForMigration Decide if migration is likely to suceed for hypervisor versions.
Method __init__ Undocumented
Method AcceptInstance Prepare to accept an instance.
Method BalloonInstanceMemory Balloon an instance memory to a certain value.
Method FinalizeMigrationDst Finalize an instance migration.
Method FinalizeMigrationSource Finalize the instance migration on the source node.
Method GetAllInstancesInfo Get properties of all instances.
Method GetInstanceInfo Get instance properties.
Method GetMigrationStatus Get the migration status
Method GetNodeInfo Return information about the node.
Method ListInstances Get the list of running instances.
Method MigrateInstance Migrate an instance to a target node.
Method MigrationInfo Get instance information to perform a migration.
Method PowercycleNode Xen-specific powercycle.
Method RebootInstance Reboot an instance.
Method RestoreInstance Fixup running instance's state.
Method StartInstance Start an instance.
Method StopInstance Stop an instance.
Method Verify Verify the hypervisor.
Method VerifyInstance Verify if running instance (configuration) is in correct state.
Constant ANCILLARY_FILES Undocumented
Constant ANCILLARY_FILES_OPT Undocumented
Constant CAN_MIGRATE Undocumented
Constant REBOOT_RETRY_COUNT Undocumented
Constant REBOOT_RETRY_INTERVAL Undocumented
Class Method _EnsureDirs Makes sure that the directories needed by the hypervisor exist.
Class Method _InstanceMigrationPidfile Returns the name of the pid file for a socat process used to migrate.
Class Method _InstanceNICDir Returns the directory holding the tap device files for a given instance.
Class Method _InstanceNICFile Returns the name of the file containing the tap device for a given NIC
Class Method _KillMigrationDaemon Kills the migration daemon if present.
Class Method _WriteNICInfoFile Write the Xen config file for the instance.
Method _CheckToolstackXlConfigured Checks whether xl is enabled on an xl-capable node.
Method _ConfigFileName Get the config file name for an instance.
Method _DestroyInstance Destroy an instance if the instance exists.
Method _DestroyInstanceIfAlive Undocumented
Method _GetInstanceList Wrapper around module level _GetAllInstanceList.
Method _MakeConfigFile Gather configuration details and write to disk.
Method _MigrateInstance Migrate an instance to a target node.
Method _ReadConfigFile Returns the contents of the instance config file.
Method _RemoveConfigFile Remove the xen configuration file.
Method _RenameInstance Rename an instance (domain).
Method _RunXen Wrapper around utils.process.RunCmd to run Xen command.
Method _ShutdownInstance Shutdown an instance if the instance is running.
Method _StashConfigFile Move the Xen config file to the log directory and return its new path.
Method _StopInstance Stop an instance.
Method _WriteConfigFile Write the Xen config file for the instance.
Method _WriteNicConfig Undocumented
Constant _DIRS Undocumented
Constant _INSTANCE_LIST_DELAYS Undocumented
Constant _INSTANCE_LIST_TIMEOUT Undocumented
Constant _MIGRATION_DIR Undocumented
Constant _NICS_DIR Undocumented
Constant _ROOT_DIR Undocumented
Instance Variable _cfgdir Undocumented
Instance Variable _cmd Undocumented
Instance Variable _run_cmd_fn Undocumented

Inherited from BaseHypervisor (via XenHypervisor):

Class Method CheckParameterSyntax Check the given parameters for validity.
Class Method GetAncillaryFiles Return a list of ancillary files to be copied to all nodes as ancillary configuration files.
Class Method LinuxPowercycle Linux-specific powercycle method.
Class Method ValidateParameters Check the given parameters for validity.
Static Method GetLinuxNodeInfo For linux systems, return actual OS information.
Method CleanupInstance Cleanup after a stopped instance
Method HotAddDevice Hot-add a device.
Method HotDelDevice Hot-del a device.
Method HotModDevice Hot-mod a device.
Method HotplugSupported Checks if hotplug is supported.
Method VerifyHotplugSupport Verifies that hotplug is supported.
Class Method _IsParamValueUnspecified Check if the parameter value is a kind of value meaning unspecified.
Static Method _FormatVerifyResults Formats the verification results, given a list of errors.
Method _InstanceStartupMemory Get the correct startup memory for an instance