KIWIXMLTypeData Info


Public methods

Private methods


getBootImageDescript

Return the configured boot image description

Defined on line: 250

Called in

getBootImageFileSystem

Return the option configured for the boot filesystem

Defined on line: 261

Called in

getBootKernel

Return the configured bootkernel

Defined on line: 272

Called in

getBootLoader

Return the configured bootloader

Defined on line: 283

Called in

getBootPartitionSize

Return the configured bootpartition size

Defined on line: 294

Called in

getBootProfile

Return the configured bootprofile

Defined on line: 309

Called in

getBootTimeout

Return the configured boot timeout

Defined on line: 320

Called in

getCheckPrebuilt

Return the configuration for the pre built boot image check

Defined on line: 331

Called in

getCompressed

Return the configuration for compressed image generation

Defined on line: 342

Called in

getContainerName

Return the configuration for the container name

Defined on line: 353

Called in

getDevicePersistent

Return the configuration for the device persistency method

Defined on line: 365

Called in

getEditBootConfig

Return the path to the script to modify the boot configuration

Defined on line: 376

Called in

getEditBootInstall

Return the path to the script to modify the boot configuration

Defined on line: 387

Called in

getFSMountOptions

Return the file system mount options

Defined on line: 463

Called in

getFSNoCheck

Return the value for the fscheck flag

Defined on line: 485

Called in

getFSReadOnly

Return the filesystem for read only access

Defined on line: 496

Called in

getFSReadWrite

Return the filesystem for read write access

Defined on line: 507

Called in

getFilesystem

Return the configured filesystem

Defined on line: 398

Called in

getFirmwareType

Return the configured firmware type

Defined on line: 430

Called in

getFlags

Return the configuration for the fags setting

Defined on line: 441

Called in

getFormat

Return the format for the virtual image

Defined on line: 452

Called in

getHybrid

Return the flag value to indicate a hybrid image

Defined on line: 518

Called in

getHybridPersistent

Return the flag value indicating whether or not persistent storage is included in the hybrid image

Defined on line: 529

Called in

getImageSize

return a size string with unit or the string 'auto'

Defined on line: 682

Called in

getImageSizeAdditiveBytes

return the size byte value if the additive attribute is set to true, otherwise return zero

Defined on line: 733

Called in

getImageSizeBytes

return a size byte value or 'auto'

Defined on line: 715

Called in

getInstallBoot

Return the option configured for the initial boot selection

Defined on line: 541

Called in

getInstallIso

Return the value indicating whether or not an ISO image should be created as install media

Defined on line: 564

Called in

getInstallPXE

Return the value indicating whether or not all data required for an oem PXE installation should be created as install set

Defined on line: 588

Called in

getInstallProvideFailsafe

Return the value indicating whether the boot menu should have a failsfe entry or not

Defined on line: 552

Called in

getInstallStick

Return the value indicating whether or not an USB stick image should be created for installation

Defined on line: 576

Called in

getKernelCmdOpts

Return the configured kernel command line options

Defined on line: 600

Called in

getLuksOS

Return the configured luks target operating system name

Defined on line: 622

Called in

getLuksPass

Return the configured luks password for the filesystem encryption

Defined on line: 611

Called in

getMDRaid

Return the software raid type

Defined on line: 633

Called in

getPrimary

Return the flag indicating if this type is marked default

Defined on line: 644

Called in

getRAMOnly

Return the flag indicating whether overlay file system writes take place in RAM only

Defined on line: 655

Called in

getSize

Return the systemsize for this type

Defined on line: 667

Called in

getSizeUnit

Return the systemsize for this type

Defined on line: 755

Called in

getTypeName

Return the image type

Defined on line: 766

Called in

getVGA

Return the vga settings for the kernel command line

Defined on line: 777

Called in

getVHDFixedTag

Return the VHD fixed tag for a fixed-vhd formated image

Defined on line: 788

Called in

getVolID

Return the volume ID for an ISO image

Defined on line: 799

Called in

getXMLElement

Return an XML Element representing the object's data

Defined on line: 828

getZFSOptions

Return the ZFS filesystem pool options

Defined on line: 474

Called in

isSizeAdditive

Return indication whether the size for this type is additive or not

Defined on line: 810

Called in

new

Create the KIWIXMLTypeData object Internal data structure this = { boot = '' bootfilesystem = '' bootkernel = '' bootloader = '' bootpartsize = '' bootprofile = '' boottimeout = '' checkprebuilt = '' compressed = '' devicepersistency = '' editbootconfig = '' editbootinstall = '' filesystem = '' firmware = '' flags = '' format = '' fsmountoptions = '' zfsoptions = '' fsnocheck = '' fsreadonly = '' fsreadwrite = '' hybrid = '' hybridpersistent = '' image = '' installboot = '' installiso = '' installprovidefailsafe = '' installpxe = '' installstick = '' kernelcmdline = '' luks = '' luksOS = '' mdraid = '' primary = '' ramonly = '' size = '' sizeadd = '' sizeunit = '' vga = '' vhdfixedtag = '' volid = '' }

Defined on line: 50

Called in

setBootImageDescript

Set the configuration for the boot image description

Defined on line: 1018

Called in

setBootImageFileSystem

Set the option configuration for the boot filesystem

Defined on line: 1039

Called in

setBootKernel

Set the configuration for the bootkernel

Defined on line: 1055

Called in

setBootLoader

Set the configuration for the bootloader

Defined on line: 1076

Called in

setBootPartitionSize

Set the configuration for the bootpartition size

Defined on line: 1092

setBootProfile

Set the configuration for the bootprofile

Defined on line: 1113

Called in

setBootTimeout

Set the configuration for the boot timeout

Defined on line: 1134

Called in

setCheckPrebuilt

Set the configuration for the pre built boot image check

Defined on line: 1155

setCompressed

Set the configuration for compressed image generation

Defined on line: 1172

setContainerName

Set the container name

Defined on line: 1189

setDevicePersistent

Set the configuration for the device persistency method

Defined on line: 1217

Called in

setEditBootConfig

Set the path to the script to modify the boot configuration

Defined on line: 1233

setEditBootInstall

Set the path to the script to modify the boot configuration

Defined on line: 1254

setFSMountOptions

Set the file system mount options

Defined on line: 1323

Called in

setFSNoCheck

Set the value for the fscheck flag

Defined on line: 1365

setFSReadOnly

Set the filesystem for read only access

Defined on line: 1382

setFSReadWrite

Set the filesystem for read write access

Defined on line: 1398

setFilesystem

Set the configuration for the filesystem

Defined on line: 1275

Called in

setFirmwareType

Set the configuration for the firmware type

Defined on line: 1558

Called in

setFlags

Set the configuration for the fags setting

Defined on line: 1291

setFormat

Set the format for the virtual image

Defined on line: 1307

setHybrid

Set the flag value to indicate a hybrid image

Defined on line: 1414

Called in

setHybridPersistent

Set the flag value indicating whether or not persistent storage is included in the hybrid image

Defined on line: 1431

Called in

setInstallBoot

Set the option configuration for the for the initial boot selection

Defined on line: 1449

Called in

setInstallIso

Set the value indicating whether or not an ISO image should be created as install media

Defined on line: 1483

setInstallPXE

Set the value indicating whether or not PXE data files should be created for installation

Defined on line: 1519

setInstallProvideFailsafe

Set the value indicating whether the boot menu should have a failsfe entry or not

Defined on line: 1465

Called in

setInstallStick

Set the value indicating whether or not an USB stick image should be created for installation

Defined on line: 1501

setKernelCmdOpts

Set the configuration for the kernel command line options

Defined on line: 1537

Called in

setLuksOS

Set the configuration for the luks target distribution

Defined on line: 1597

setLuksPass

Set the configuration for the luks password for the filesystem encryption

Defined on line: 1576

setMDRaid

Set software raid type

Defined on line: 1618

setPrimary

Set the flag indicating if this type is marked default

Defined on line: 1634

setRAMOnly

Set the flag indicating whether overlay file system writes take place in RAM only

Defined on line: 1651

Called in

setSize

Set the systemsize for this type

Defined on line: 1669

setSizeAdditive

Set the flag indicating whether the size is additive or not

Defined on line: 1690

setSizeUnit

Set the systemsize unit of measure for this type

Defined on line: 1707

setTypeName

Set the image type

Defined on line: 1724

setVGA

Set the vga settings for the kernel command line

Defined on line: 1741

Called in

setVHDFixedTag

Set the VHD tag for a fixed-vhd formated image

Defined on line: 1762

setVolID

Set the volume ID for an ISO image

Defined on line: 1783

setZFSOptions

Set the ZFS pool options

Defined on line: 1344

useLVM

Check if LVM can be used according to the used filesystem. filesystems like zfs and btrfs have their own volume management

Defined on line: 409

Called in

__byteValue

turn given value into bytes, units M and G are allowed no unit assumes a MB value

Defined on line: 2337

Called in

__isInitConsistent

Verify that the initialization hash is valid

Defined on line: 1807

Called in

__isValidBootFS

Verify that the given boot filesystem type is supported

Defined on line: 1905

Called in

__isValidBootloader

Verify that the given bootloader is supported

Defined on line: 1946

Called in

__isValidDevPersist

Verify that the given device persistency setting is supported

Defined on line: 1989

Called in

__isValidFilesystem

Verify that the given filesystem is supported

Defined on line: 2026

Called in

__isValidFirmware

Verify that the given firmware setting value is supported

Defined on line: 2063

Called in

__isValidFlags

Verify that the given flags value is supported

Defined on line: 2100

Called in

__isValidFormat

Verify that the given format value is supported

Defined on line: 2137

Called in

__isValidImage

Verify that the given image type value is supported

Defined on line: 2174

Called in

__isValidInstBoot

Verify that the given installboot value is supported

Defined on line: 2229

Called in

__isValidRaidType

Verify that the given raid type is supported

Defined on line: 2266

Called in

__isValidSizeUnit

Verify that the given unit of measure for the size is a recognized value

Defined on line: 2303

Called in