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

Class XenHvmHypervisor

source code


Xen HVM hypervisor interface

Instance Methods [hide private]
 
_GetConfig(self, instance, startup_memory, block_devices)
Create a Xen 3.1 HVM config file.
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: VersionsSafeForMigration

Inherited from XenHypervisor (private): _GetCommandFromHvparams

Inherited from hv_base.BaseHypervisor: GetLinuxNodeInfo

Inherited from hv_base.BaseHypervisor (private): _FormatVerifyResults

Class Variables [hide private]
  ANCILLARY_FILES = XenHypervisor.ANCILLARY_FILES+ [pathutils.VN...
  ANCILLARY_FILES_OPT = XenHypervisor.ANCILLARY_FILES_OPT+ [path...
  PARAMETERS = {constants.HV_ACPI: hv_base.NO_CHECK, constants.H...
a dict of parameter name: check type; the check type is a five-tuple containing:

Inherited from XenHypervisor: CAN_MIGRATE, REBOOT_RETRY_COUNT, REBOOT_RETRY_INTERVAL

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_GetConfig(self, instance, startup_memory, block_devices)

source code 

Create a Xen 3.1 HVM config file.

Overrides: XenHypervisor._GetConfig

Class Variable Details [hide private]

ANCILLARY_FILES

Value:
XenHypervisor.ANCILLARY_FILES+ [pathutils.VNC_PASSWORD_FILE,]

ANCILLARY_FILES_OPT

Value:
XenHypervisor.ANCILLARY_FILES_OPT+ [pathutils.VNC_PASSWORD_FILE,]

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_ACPI: hv_base.NO_CHECK, constants.HV_BOOT_ORDER:(True,)+\
(lambda x: x and len(x.strip("acdn"))== 0, "Invalid boot order specifi\
ed, must be one or more of [acdn]", None, None), constants.HV_CDROM_IM\
AGE_PATH: hv_base.OPT_FILE_CHECK, constants.HV_DISK_TYPE: hv_base.Para\
mInSet(True, constants.HT_HVM_VALID_DISK_TYPES), constants.HV_NIC_TYPE\
: hv_base.ParamInSet(True, constants.HT_HVM_VALID_NIC_TYPES), constant\
s.HV_PAE: hv_base.NO_CHECK, constants.HV_VNC_BIND_ADDRESS:(False, netu\
tils.IP4Address.IsValid, "VNC bind address is not a valid IP address",\
...