LXC-based virtualization.
|
|
|
|
|
|
|
tuple of strings
|
|
|
(string, string, int, int, HvInstanceState, int)
|
|
|
|
_CreateConfigFile(self,
instance,
root_dir)
Create an lxc.conf file for an instance. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
objects.MigrationStatus
|
|
|
Inherited from hv_base.BaseHypervisor:
AcceptInstance,
CleanupInstance,
FinalizeMigrationDst,
FinalizeMigrationSource,
HotAddDevice,
HotDelDevice,
HotModDevice,
HotplugSupported,
MigrationInfo,
VerifyHotplugSupport
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
_InstanceDir(cls,
instance_name)
Return the root directory for an instance. |
source code
|
|
|
|
_InstanceConfFile(cls,
instance_name)
Return the configuration file for an instance. |
source code
|
|
|
|
_InstanceLogFile(cls,
instance_name)
Return the log file for an instance. |
source code
|
|
|
|
|
|
|
_GetCgroupCpuList(cls,
instance_name)
Return the list of CPU ids for an instance. |
source code
|
|
|
|
_GetCgroupMemoryLimit(cls,
instance_name)
Return the memory limit for an instance |
source code
|
|
|
|
GetInstanceConsole(cls,
instance,
primary_node,
node_group,
hvparams,
beparams)
Return a command for connecting to the console of an instance. |
source code
|
|
|
|
|
|
Inherited from hv_base.BaseHypervisor:
CheckParameterSyntax,
GetAncillaryFiles,
LinuxPowercycle,
ValidateParameters
|