Package ganeti :: Package hypervisor :: Module hv_xen
[hide private]
[frames] | no frames]

Module hv_xen

source code

Xen hypervisors

Classes [hide private]
  XenHypervisor
Xen generic hypervisor interface
  XenPvmHypervisor
Xen PVM hypervisor interface
  XenHvmHypervisor
Xen HVM hypervisor interface
Functions [hide private]
 
_CreateConfigCpus(cpu_mask)
Create a CPU config string for Xen's config file.
source code
Variables [hide private]
  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"

Imports: logging, StringIO, constants, errors, utils, hv_base, netutils, objects, pathutils, ssconf


Variables Details [hide private]

XEND_CONFIG_FILE

Value:
utils.PathJoin(pathutils.XEN_CONFIG_DIR, "xend-config.sxp")

XL_CONFIG_FILE

Value:
utils.PathJoin(pathutils.XEN_CONFIG_DIR, "xen/xl.conf")

VIF_BRIDGE_SCRIPT

Value:
utils.PathJoin(pathutils.XEN_CONFIG_DIR, "scripts/vif-bridge")