|
|
|
save(self)
Saves any changes made to this configuration. |
source code
|
|
|
getFileName(self)
Returns the path to the configuration file represented by this
object. |
source code
|
|
|
toXML(self)
Returns the XML representation of this configuration. |
source code
|
|
|
|
|
|
|
|
|
|
|
isInstallerConfig(self)
Returns true if this configuration indicates that the domain was
started in a method that would put it into the installer. |
source code
|
|
|
__getElementValue(self,
start_tree,
*tag_path) |
source code
|
|
|
|
|
__removeElementValue(self,
start_tree,
*tag_path) |
source code
|
|
|
__removeElementAttribute(self,
start_tree,
*tag_path) |
source code
|
|
|
__setElementValue(self,
start_tree,
value,
*tag_path) |
source code
|
|
|
__setElementAttribute(self,
start_tree,
value,
*tag_path) |
source code
|
|
|
|
|
__extractElement(self,
start_tree,
*tag_path) |
source code
|
|
|
NAME = DomainConfigItem("domain/name", DataType.VALUE)
|
|
UUID = DomainConfigItem("domain/uuid", DataType.VALUE)
|
|
BOOTLOADER = DomainConfigItem("domain/bootloader", DataType.VA...
|
|
MEMORY = DomainConfigItem("domain/memory", DataType.VALUE)
|
|
VCPU = DomainConfigItem("domain/vcpu", DataType.VALUE)
|
|
OS = DomainConfigItem("domain/os", DataType.VALUE)
|
|
OS_TYPE = DomainConfigItem("domain/os/type", DataType.VALUE)
|
|
ROOT_DEVICE = DomainConfigItem("domain/os/root", DataType.VALUE)
|
|
COMMAND_LINE = DomainConfigItem("domain/os/cmdline", DataType....
|
|
KERNEL_PATH = DomainConfigItem("domain/os/kernel", DataType.VA...
|
|
RAMDISK_PATH = DomainConfigItem("domain/os/initrd", DataType.V...
|
|
DISK_IMAGE_PATH = DomainConfigItem("domain/devices/disk/source...
|
|
DOMAIN_ID = DomainConfigItem("domain/id", DataType.ATTRIBUTE)
|