KIWIXMLSystemdiskData Info


Public methods

Private methods


__isInitConsistent

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

Defined on line: 514

Called in

__isNameValid

Verify that the name given for a volume or volume group is valid.

Defined on line: 583

Called in

__isVolIDValid

Verify that the ID given for a volume is valid.

Defined on line: 625

Called in

__nameIsUnique

Missing

Defined on line: 659

Called in

createVolume

Create a volume setup and return the ID

Defined on line: 101

getVGName

Return the configured name for the volume group

Defined on line: 173

Called in

getVolumeFreespace

Return the configured freespace for the volume with the given ID

Defined on line: 184

Called in

getVolumeIDs

Return an array ref of the IDs for defined volumes

Defined on line: 199

Called in

getVolumeMountPoint

Return the configured mountpoint for the volume with the given ID

Defined on line: 226

Called in

getVolumeName

Return the configured name for the volume with the given ID

Defined on line: 211

Called in

getVolumeSize

Return the configured name for the volume with the given ID

Defined on line: 241

Called in

getVolumes

Return a hash with the volume path as key and a list reference containing two elements with size information and one element with an optional mountpoint name

Defined on line: 256

Called in

getXMLElement

Return an XML Element representing the object's data

Defined on line: 323

new

Create the KIWIXMLSystemdiskData object Internal data structure this = { name = '' volumes = { ID[+] = { freespace = '' name = '' size = '' mountpoint= '' } }

Defined on line: 46

Called in

setVGName

Set the name for the volume group

Defined on line: 356

setVolumeFreespace

Set the configured freespace for the volume with the given ID

Defined on line: 380

setVolumeMountPoint

Set the configured mountpoint for the volume with the given ID

Defined on line: 447

setVolumeName

Set the configured name for the volume with the given ID

Defined on line: 412

setVolumeSize

Set the configured freespace for the volume with the given ID

Defined on line: 479