ganeti :: hypervisor :: hv_xen :: XenPvmHypervisor :: Class XenPvmHypervisor
[hide private]
[frames] | no frames]

Class XenPvmHypervisor

source code


Xen PVM hypervisor interface

Instance Methods [hide private]
 
_GetConfig(self, instance, startup_memory, block_devices)
Write the Xen config file for the instance.
source code

Inherited from XenHypervisor: AcceptInstance, BalloonInstanceMemory, FinalizeMigrationDst, FinalizeMigrationSource, GetAllInstancesInfo, GetInstanceInfo, GetMigrationStatus, GetNodeInfo, ListInstances, MigrateInstance, MigrationInfo, PowercycleNode, RebootInstance, StartInstance, StopInstance, Verify, __init__

Inherited from hv_base.BaseHypervisor: CleanupInstance, HotAddDevice, HotDelDevice, HotModDevice, HotplugSupported, VerifyHotplugSupport

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from XenHypervisor: GetInstanceConsole

Inherited from hv_base.BaseHypervisor: CheckParameterSyntax, GetAncillaryFiles, LinuxPowercycle, ValidateParameters

Static Methods [hide private]

Inherited from XenHypervisor (private): _GetCommandFromHvparams

Inherited from hv_base.BaseHypervisor: GetLinuxNodeInfo

Inherited from hv_base.BaseHypervisor (private): _FormatVerifyResults

Class Variables [hide private]
  PARAMETERS = {constants.HV_USE_BOOTLOADER: hv_base.NO_CHECK, c...
a dict of parameter name: check type; the check type is a five-tuple containing:

Inherited from XenHypervisor: ANCILLARY_FILES, ANCILLARY_FILES_OPT, CAN_MIGRATE, REBOOT_RETRY_COUNT, REBOOT_RETRY_INTERVAL

Inherited from XenHypervisor (private): _DIRS, _NICS_DIR, _ROOT_DIR

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_GetConfig(self, instance, startup_memory, block_devices)

source code 

Write the Xen config file for the instance.

Overrides: XenHypervisor._GetConfig

Class Variable Details [hide private]

PARAMETERS

a dict of parameter name: check type; the check type is a five-tuple containing:
  • the required flag (boolean)
  • a function to check for syntax, that will be used in CheckParameterSyntax, in the master daemon process
  • an error message for the above function
  • a function to check for parameter validity on the remote node, in the ValidateParameters function
  • an error message for the above function
Value:
{constants.HV_USE_BOOTLOADER: hv_base.NO_CHECK, constants.HV_BOOTLOADE\
R_PATH: hv_base.OPT_FILE_CHECK, constants.HV_BOOTLOADER_ARGS: hv_base.\
NO_CHECK, constants.HV_KERNEL_PATH: hv_base.REQ_FILE_CHECK, constants.\
HV_INITRD_PATH: hv_base.OPT_FILE_CHECK, constants.HV_ROOT_PATH: hv_bas\
e.NO_CHECK, constants.HV_KERNEL_ARGS: hv_base.NO_CHECK, constants.HV_M\
IGRATION_PORT: hv_base.REQ_NET_PORT_CHECK, constants.HV_MIGRATION_MODE\
: hv_base.MIGRATION_MODE_CHECK, constants.HV_BLOCKDEV_PREFIX: hv_base.\
NO_CHECK, constants.HV_REBOOT_BEHAVIOR: hv_base.ParamInSet(True, const\
...