Trees | Indices | Help |
|
---|
|
LXC-based virtualization.
TODO:
Problems/issues:
|
|||
|
|||
|
|||
tuple of strings |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
objects.MigrationStatus |
|
||
Inherited from Inherited from Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
Inherited from Inherited from |
|
|||
_ROOT_DIR = pathutils.RUN_DIR+ "/lxc"
|
|||
_DEVS = ["c 1:3", "c 1:5", "c 1:7", "c 1:8", "c 1:9", "c 1:10"
|
|||
_DENIED_CAPABILITIES = ["mac_override", "sys_boot", "sys_modul
|
|||
_DIR_MODE = 0755
|
|||
PARAMETERS = {constants.HV_CPU_MASK: hv_base.OPT_CPU_MASK_CHECK,} a dict of parameter name: check type; the check type is a five-tuple containing: |
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Get the list of running instances.
|
Get instance properties.
|
Get properties of all instances.
|
Start an instance. For LXC, we try to mount the block device and execute 'lxc-start'. We use volatile containers.
|
Stop an instance. This method has complicated cleanup tests, as we must:
|
Reboot an instance. This is not (yet) implemented (in Ganeti) for the LXC hypervisor.
|
Balloon an instance memory to a certain value.
|
Return information about the node. See BaseHypervisor.GetLinuxNodeInfo.
|
Return a command for connecting to the console of an instance.
|
Verify the hypervisor. For the LXC manager, it just checks the existence of the base dir.
|
LXC powercycle, just a wrapper over Linux powercycle.
|
Migrate an instance.
|
Get the migration status
|
|
_DEVS
|
_DENIED_CAPABILITIES
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 7 16:23:35 2016 | http://epydoc.sourceforge.net |