Generate XML elements for vmconfig settings and add them to the given parent.
Defined on line: 1178
Called in
Generate XML elements for vmdisk settings and add them to the given parent.
Defined on line: 1200
Called in
Generate XML elements for vmdvd settings and add them to the given parent.
Defined on line: 1237
Called in
Generate XML elements for vmnic settings and add them to the given parent.
Defined on line: 1257
Called in
Verify that the hash has only supported settings
Defined on line: 1288
Called in
Verify that the interface given is unique
Defined on line: 1309
Called in
Check if the given architecture is a supported setting
Defined on line: 1347
Called in
Verify that the initialization hash given for the DVD configuration setup is valid.
Defined on line: 1409
Called in
Verify that the initialization hash given for the disk configuration setup is valid.
Defined on line: 1366
Called in
Verify that the initialization hash given to the constructor meets all consistency and data criteria.
Defined on line: 1510
Called in
verify that the ID given for a NIC query is valid.
Defined on line: 1565
Called in
Verify that the initialization hash given for the NIC configuration setup is valid.
Defined on line: 1455
Called in
Verify that the given OVF type is supported
Defined on line: 1597
Called in
Create a NIC configuration entry with the data provided and return the ID of the new configuration to allow completion of the config using the setNIC* methods.
Return the machine architecture
Defined on line: 224
Called in
Return the configuration file entries for the VM
Defined on line: 235
Called in
Return the DVD controller setting
Defined on line: 246
Called in
Return the DVD ID setting
Defined on line: 260
Called in
Return the specified domain
Defined on line: 274
Called in
Return the setting for the guest OS
Defined on line: 285
Called in
Return the setting for the hardware version to emulate
Defined on line: 296
Called in
Return the setting for the maximum CPUs to use
Defined on line: 307
Called in
Return the setting for the maximum amount of memory to allocate
Defined on line: 318
Called in
Return the amount of memory to allocate
Defined on line: 329
Called in
Return the minimum number of CPUs to use
Defined on line: 340
Called in
Return the minimum memory to allocate for the virtual machine
Defined on line: 351
Called in
Return the driver for the NIC configured with the given ID
Defined on line: 362
Called in
Return an array ref of IDs for configured NICs
Defined on line: 377
Called in
Return the interface specified for the NIC configured with the given ID
Defined on line: 390
Called in
Return the MAC address specified for the NIC configured with the given ID
Defined on line: 405
Called in
Return the mode configured for the NIC with the given ID
Defined on line: 421
Called in
Return the nominal number of CPUs configured
Defined on line: 436
Called in
Return the configured OVF format type
Defined on line: 447
Called in
Return the controller configured for the system disk
Defined on line: 458
Called in
Return the configured device ID for the system disk
Defined on line: 469
Called in
Return the disk ID configured for the system disk
Defined on line: 480
Called in
Return the configured disk mode for the system disk
Defined on line: 502
Called in
Return the configured device type for the system disk
Defined on line: 491
Called in
Return an XML Element representing the object's data
Create the KIWIXMLVMachineData object Internal data structure this = { HWversion = '', arch = '', confEntries = (), domain = '', guestOS = '', maxCPUCnt = '', maxMemory = '', memory = '', minCPUCnt = '', minMemory = '', ncpus = '', ovftype = '' vmdisks = { system = { controller = '', device = '', disktype = '', id = '', diskmode = '' } } vmdvd = { controller = '', id = '' } vmnics = { ID[+] = { driver = '', interface = '', mac = '', mode = '' } } } Having the disks as a two level hashref allows us to support specification of storage images at a later point without having to change the data structure or changing the arguments and return values of the interface with minimal to no extra cost if we decide to never support storage virtual disks.
Defined on line: 40
Called in
Set the architecture to be used for this VM
Set the configuration file entries for the VM config
Set the dvd controller for the VM
Set the dvd ID for the VM
Set the domain
Set the name of the VM guest OS
Set the harware version to emulate for this VM
Set the maximum number of CPUs to allocate for this VM
Set the maximum memory to allocate for this VM
Set the nominal memory to allocate for this VM
Set the minimum number of CPUs to allocate for this VM
Set the minimum memory to allocate for this VM
Set the driver for the NIC configuration with the given ID
Set the interface for the NIC configuration with the given ID
Set the MAC for the NIC configuration with the given ID
Set the Mode for the NIC configuration with the given ID
Set the minimum memory to allocate for this VM
Set the OVF type to be used to package and describe the VM image
Set the controller to emulate for the system disk for this VM
Set the device to emulate for the system disk for this VM
Set the ID to emulate for the system disk for this VM
Set the mode to emulate for the system disk for this VM
Set the type to emulate for the system disk for this VM
Defined on line: 1085
Called in