KIWIXMLPXEDeployData Info


Public methods

Private methods


__applyPartitionDefaultSettings

Apply default settings for partition data if it was not specified

Defined on line: 774

Called in

__isInitConsistent

Verify that the initialization hash given to the constructor meets all consistency and data criteria.

Defined on line: 799

Called in

__isPartitionConfigValid

Verify that the initialization hash given to the constructor contains a valid setup for the partitions.

Defined on line: 819

Called in

__isPartitionIDValid

Verify that the given partition ID is valid

Defined on line: 881

Called in

__isUnionConfigValid

Verify that the initialization hash given to the constructor contains a valid setup for the union fs if given.

Defined on line: 919

Called in

createPartition

Create a patrition entry, return the ID of the partition entry

Defined on line: 142

createUnionFSConfig

Create the union fs configuration settings

Defined on line: 223

getBlocksize

Return the blocksize value

Defined on line: 259

Called in

getDevice

Return the target device for the install

Defined on line: 270

Called in

getInitrd

Return the location, including file, of the initrd to be used

Defined on line: 281

Called in

getKernel

Return the location, including file, of the kernel to be used

Defined on line: 292

Called in

getPartitionIDs

Return a sorted array ref of the partition IDs configured

Defined on line: 303

Called in

getPartitionMountpoint

Return the configured mountpoint for the partition with the given ID

Defined on line: 318

Called in

getPartitionNumber

Return the configured partition number for the partition with the given ID, partition numbers are identical to the ID

Defined on line: 333

Called in

getPartitionSize

Return the configured partition size for the partition with the given ID

Defined on line: 349

Called in

getPartitionTarget

Return the configured target for the partition with the given ID

Defined on line: 364

Called in

getPartitionType

Return the configured type for the partition with the given ID

Defined on line: 379

Called in

getServer

Return the IP of the PXE server

Defined on line: 394

Called in

getTimeout

Return the timeout value configured for the PXE

Defined on line: 405

Called in

getUnionRO

Return the read-only device for the overlay file system

Defined on line: 416

Called in

getUnionRW

Return the read/write device for the overlay file system

Defined on line: 427

Called in

getUnionType

Return the type of the overlay file system

Defined on line: 438

Called in

getXMLElement

Return an XML Element representing the object's data

Defined on line: 449

new

Create the KIWIXMLPXEDeployData object Internal data structure this = { blocksize = '', device = '', initrd = '', kernel = '', partitions = { ID[+] = { mountpoint = '', size = '', target = '', type = '' } server = '', timeout = '', unionRO = '', unionRW = '', unionType = '' } The key, ID (key) in the partitions hash is equal to the "number" attribute in the config.xml file. The element has a child element. This child relation ship is enforced at the XML class level and the configuration data is not accessible from this class.

Defined on line: 42

Called in

setBlocksize

Set the blocksize value, rest to the default if no value is given

Defined on line: 516

setDevice

Set the target device for the install

Defined on line: 536

setInitrd

Set the location, including file, of the initrd to be used

Defined on line: 556

setKernel

Return the location, including file, of the kernel to be used

Defined on line: 576

setPartitionMountpoint

Set the mountpoint for the partition with the given ID

Defined on line: 596

setPartitionSize

Set the configured partition size for the partition with the given ID

Defined on line: 629

setPartitionTarget

Set the configured target for the partition with the given ID

Defined on line: 662

setPartitionType

Return the configured type for the partition with the given ID

Defined on line: 695

setServer

Set the IP of the PXE server

Defined on line: 728

setTimeout

Set the timeout value configured for the PXE

Defined on line: 750