Trees | Indices | Help |
|
---|
|
Xen hypervisors
|
|||
XenHypervisor Xen generic hypervisor interface |
|||
XenPvmHypervisor Xen PVM hypervisor interface |
|||
XenHvmHypervisor Xen HVM hypervisor interface |
|
|||
|
|||
list |
|
||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
dict |
|
||
|
|||
|
|||
|
|
|||
XEND_CONFIG_FILE = utils.PathJoin(pathutils.XEN_CONFIG_DIR, "x
|
|||
XL_CONFIG_FILE = utils.PathJoin(pathutils.XEN_CONFIG_DIR, "xen
|
|||
VIF_BRIDGE_SCRIPT = utils.PathJoin(pathutils.XEN_CONFIG_DIR, "
|
|||
_DOM0_NAME = "Domain-0"
|
|||
_DISK_LETTERS = string.ascii_lowercase
|
|||
_FILE_DRIVER_MAP = {constants.FD_LOOP: "file", constants.FD_BL
|
Imports: logging, errno, string, shutil, StringIO, constants, errors, utils, hv_base, netutils, objects, pathutils
|
Helper function for _GetInstanceList to retrieve the list of instances from xen.
|
Parses the output of listing instances by xen.
|
Return the list of running instances. See _RunInstanceList and _ParseInstanceList for parameter details. |
Determine whether an instance is running. An instance is running if it is in the following Xen states: running, blocked, or paused. For some strange reason, Xen once printed 'rb----' which does not make any sense because an instance cannot be both running and blocked. Fortunately, for Ganeti 'running' or 'blocked' is the same as 'running'. A state of nothing '------' means that the domain is runnable but it is not currently running. That means it is in the queue behind other domains waiting to be scheduled to run. http://old-list-archives.xenproject.org/xen-users/2007-06/msg00849.html
|
Return information about the node.
|
Updates node information from _ParseNodeInfo with instance info.
|
Combines _MergeInstanceInfo and _ParseNodeInfo.
|
Get disk directives for Xen config file. This method builds the xen config disk directive according to the given disk_template and block_devices.
|
Add quotes around the CPUID field only if necessary. Xen CPUID fields come in two shapes: LIBXL strings, which need quotes around them, and lists of XEND strings, which don't.
|
|
XEND_CONFIG_FILE
|
XL_CONFIG_FILE
|
VIF_BRIDGE_SCRIPT
|
_FILE_DRIVER_MAP
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 7 16:23:25 2016 | http://epydoc.sourceforge.net |