KIWIXMLTypeData Info


Public methods

Private methods


__byteValue

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

Defined on line: 2295

Called in

__isInitConsistent

Verify that the initialization hash is valid

Defined on line: 1768

Called in

__isValidBootFS

Verify that the given boot filesystem type is supported

Defined on line: 1866

Called in

__isValidBootloader

Verify that the given bootloader is supported

Defined on line: 1906

Called in

__isValidDevPersist

Verify that the given device persistency setting is supported

Defined on line: 1948

Called in

__isValidFilesystem

Verify that the given filesystem is supported

Defined on line: 1985

Called in

__isValidFirmware

Verify that the given firmware setting value is supported

Defined on line: 2022

Called in

__isValidFlags

Verify that the given flags value is supported

Defined on line: 2059

Called in

__isValidFormat

Verify that the given format value is supported

Defined on line: 2096

Called in

__isValidImage

Verify that the given image type value is supported

Defined on line: 2133

Called in

__isValidInstBoot

Verify that the given installboot value is supported

Defined on line: 2187

Called in

__isValidRaidType

Verify that the given raid type is supported

Defined on line: 2224

Called in

__isValidSizeUnit

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

Defined on line: 2261

Called in

getBootImageDescript

Return the configured boot image description

Defined on line: 247

Called in

getBootImageFileSystem

Return the option configured for the boot filesystem

Defined on line: 258

Called in

getBootKernel

Return the configured bootkernel

Defined on line: 269

Called in

getBootLoader

Return the configured bootloader

Defined on line: 280

Called in

getBootPartitionSize

Return the configured bootpartition size

Defined on line: 291

Called in

getBootProfile

Return the configured bootprofile

Defined on line: 306

Called in

getBootTimeout

Return the configured boot timeout

Defined on line: 317

Called in

getCheckPrebuilt

Return the configuration for the pre built boot image check

Defined on line: 328

Called in

getCompressed

Return the configuration for compressed image generation

Defined on line: 339

Called in

getContainerName

Return the configuration for the container name

Defined on line: 350

Called in

getDevicePersistent

Return the configuration for the device persistency method

Defined on line: 362

Called in

getEditBootConfig

Return the path to the script to modify the boot configuration

Defined on line: 373

Called in

getEditBootInstall

Return the path to the script to modify the boot configuration

Defined on line: 384

Called in

getFSMountOptions

Return the file system mount options

Defined on line: 460

Called in

getFSNoCheck

Return the value for the fscheck flag

Defined on line: 482

Called in

getFSReadOnly

Return the filesystem for read only access

Defined on line: 493

Called in

getFSReadWrite

Return the filesystem for read write access

Defined on line: 504

Called in

getFilesystem

Return the configured filesystem

Defined on line: 395

Called in

getFirmwareType

Return the configured firmware type

Defined on line: 427

Called in

getFlags

Return the configuration for the fags setting

Defined on line: 438

Called in

getFormat

Return the format for the virtual image

Defined on line: 449

Called in

getHybrid

Return the flag value to indicate a hybrid image

Defined on line: 515

Called in

getHybridPersistent

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

Defined on line: 526

Called in

getImageSize

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

Defined on line: 668

Called in

getImageSizeAdditiveBytes

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

Defined on line: 719

Called in

getImageSizeBytes

return a size byte value or 'auto'

Defined on line: 701

Called in

getInstallBoot

Return the option configured for the initial boot selection

Defined on line: 538

Called in

getInstallFailsafe

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

Defined on line: 549

Called in

getInstallIso

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

Defined on line: 561

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

Called in

getInstallStick

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

Defined on line: 573

Called in

getKernelCmdOpts

Return the configured kernel command line options

Defined on line: 597

Called in

getLuksPass

Return the configured luks password for the filesystem encryption

Defined on line: 608

Called in

getMDRaid

Return the software raid type

Defined on line: 619

Called in

getPrimary

Return the flag indicating if this type is marked default

Defined on line: 630

Called in

getRAMOnly

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

Defined on line: 641

Called in

getSize

Return the systemsize for this type

Defined on line: 653

Called in

getSizeUnit

Return the systemsize for this type

Defined on line: 741

Called in

getTypeName

Return the image type

Defined on line: 752

Called in

getVGA

Return the vga settings for the kernel command line

Defined on line: 763

Called in

getVHDFixedTag

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

Defined on line: 774

Called in

getVolID

Return the volume ID for an ISO image

Defined on line: 785

Called in

getXMLElement

Return an XML Element representing the object's data

Defined on line: 814

getZFSOptions

Return the ZFS filesystem pool options

Defined on line: 471

Called in

isSizeAdditive

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

Defined on line: 796

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 = '' mdraid = '' primary = '' ramonly = '' size = '' sizeadd = '' sizeunit = '' vga = '' vhdfixedtag = '' volid = '' }

Defined on line: 51

Called in

setBootImageDescript

Set the configuration for the boot image description

Defined on line: 1000

Called in

setBootImageFileSystem

Set the option configuration for the boot filesystem

Defined on line: 1021

Called in

setBootKernel

Set the configuration for the bootkernel

Defined on line: 1037

Called in

setBootLoader

Set the configuration for the bootloader

Defined on line: 1058

Called in

setBootPartitionSize

Set the configuration for the bootpartition size

Defined on line: 1074

setBootProfile

Set the configuration for the bootprofile

Defined on line: 1095

Called in

setBootTimeout

Set the configuration for the boot timeout

Defined on line: 1116

setCheckPrebuilt

Set the configuration for the pre built boot image check

Defined on line: 1137

setCompressed

Set the configuration for compressed image generation

Defined on line: 1154

setContainerName

Set the container name

Defined on line: 1171

setDevicePersistent

Set the configuration for the device persistency method

Defined on line: 1199

Called in

setEditBootConfig

Set the path to the script to modify the boot configuration

Defined on line: 1215

setEditBootInstall

Set the path to the script to modify the boot configuration

Defined on line: 1236

setFSMountOptions

Set the file system mount options

Defined on line: 1305

Called in

setFSNoCheck

Set the value for the fscheck flag

Defined on line: 1347

setFSReadOnly

Set the filesystem for read only access

Defined on line: 1364

setFSReadWrite

Set the filesystem for read write access

Defined on line: 1380

setFilesystem

Set the configuration for the filesystem

Defined on line: 1257

Called in

setFirmwareType

Set the configuration for the firmware type

Defined on line: 1540

Called in

setFlags

Set the configuration for the fags setting

Defined on line: 1273

setFormat

Set the format for the virtual image

Defined on line: 1289

setHybrid

Set the flag value to indicate a hybrid image

Defined on line: 1396

Called in

setHybridPersistent

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

Defined on line: 1413

Called in

setInstallBoot

Set the option configuration for the for the initial boot selection

Defined on line: 1431

Called in

setInstallFailsafe

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

Defined on line: 1447

setInstallIso

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

Defined on line: 1465

setInstallPXE

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

Defined on line: 1501

setInstallStick

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

Defined on line: 1483

setKernelCmdOpts

Set the configuration for the kernel command line options

Defined on line: 1519

Called in

setLuksPass

Set the configuration for the luks password for the filesystem encryption

Defined on line: 1558

setMDRaid

Set software raid type

Defined on line: 1579

setPrimary

Set the flag indicating if this type is marked default

Defined on line: 1595

setRAMOnly

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

Defined on line: 1612

Called in

setSize

Set the systemsize for this type

Defined on line: 1630

setSizeAdditive

Set the flag indicating whether the size is additive or not

Defined on line: 1651

setSizeUnit

Set the systemsize unit of measure for this type

Defined on line: 1668

setTypeName

Set the image type

Defined on line: 1685

setVGA

Set the vga settings for the kernel command line

Defined on line: 1702

setVHDFixedTag

Set the VHD tag for a fixed-vhd formated image

Defined on line: 1723

setVolID

Set the volume ID for an ISO image

Defined on line: 1744

setZFSOptions

Set the ZFS pool options

Defined on line: 1326

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

Called in