KIWIXMLPXEDeployData Info


Public methods

Private methods


__applyPartitionDefaultSettings

Apply default settings for partition data if it was not specified

Defined on line: 778

Called in

__isInitConsistent

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

Defined on line: 803

Called in

__isPartitionConfigValid

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

Defined on line: 823

Called in

__isPartitionIDValid

Verify that the given partition ID is valid

Defined on line: 885

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: 923

Called in

createPartition

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

Defined on line: 146

createUnionFSConfig

Create the union fs configuration settings

Defined on line: 227

getBlocksize

Return the blocksize value

Defined on line: 263

Called in

getDevice

Return the target device for the install

Defined on line: 274

Called in

getInitrd

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

Defined on line: 285

Called in

getKernel

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

Defined on line: 296

Called in

getPartitionIDs

Return a sorted array ref of the partition IDs configured

Defined on line: 307

Called in

getPartitionMountpoint

Return the configured mountpoint for the partition with the given ID

Defined on line: 322

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: 337

Called in

getPartitionSize

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

Defined on line: 353

Called in

getPartitionTarget

Return the configured target for the partition with the given ID

Defined on line: 368

Called in

getPartitionType

Return the configured type for the partition with the given ID

Defined on line: 383

Called in

getServer

Return the IP of the PXE server

Defined on line: 398

Called in

getTimeout

Return the timeout value configured for the PXE

Defined on line: 409

Called in

getUnionRO

Return the read-only device for the overlay file system

Defined on line: 420

Called in

getUnionRW

Return the read/write device for the overlay file system

Defined on line: 431

Called in

getUnionType

Return the type of the overlay file system

Defined on line: 442

Called in

getXMLElement

Return an XML Element representing the object's data

Defined on line: 453

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: 46

Called in

setBlocksize

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

Defined on line: 520

setDevice

Set the target device for the install

Defined on line: 540

setInitrd

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

Defined on line: 560

setKernel

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

Defined on line: 580

setPartitionMountpoint

Set the mountpoint for the partition with the given ID

Defined on line: 600

setPartitionSize

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

Defined on line: 633

setPartitionTarget

Set the configured target for the partition with the given ID

Defined on line: 666

setPartitionType

Return the configured type for the partition with the given ID

Defined on line: 699

setServer

Set the IP of the PXE server

Defined on line: 732

setTimeout

Set the timeout value configured for the PXE

Defined on line: 754