Trees | Indices | Help |
|
---|
|
LXC-based virtualization.
Since current (Spring 2010) distributions are not yet ready for running under a container, the following changes must be done manually:
TODO:
Problems/issues:
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
|||
Inherited from |
|
|||
_ROOT_DIR = constants.RUN_GANETI_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 x.__class__.__doc__ for signature
|
Get the list of running instances.
|
Get instance properties.
|
Get properties of all instances.
|
Start an instance. For LCX, 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.
|
Return information about the node. This is just a wrapper over the base GetLinuxNodeInfo method.
|
Return a command for connecting to the console of an instance. |
Verify the hypervisor. For the chroot manager, it just checks the existence of the base dir.
|
LXC powercycle, just a wrapper over Linux powercycle.
|
Migrate an instance.
|
|
_DEVS
|
_DENIED_CAPABILITIES
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 9 15:55:43 2010 | http://epydoc.sourceforge.net |