Profile handling
List of Global Functions
Import - Import Profile
Prepare - Prepare Profile for saving and remove empty data structs
Profile - Constructor
ReadProfileStructure - Read YCP data as the control file
ReadProperties - Read Profile properties and Version
ReadXML - Read XML into YCP data
Reset - Reset profile to initial status
Save - Save YCP data into XML
SaveProfileStructure - Save the current data into a file to be read after a reboot.
convertLVM - Provide Compatibility to older distributions.
convertRAID - Provide Compatibility to older distributions.
generalCompat - compatibility to new language,keyboard and timezone client in 10.1
setElementByList - this function is a replacement for this code: list<any> l = [ "key1",0,"key3" ]; m[ l ] = v;
List of Global Variables
Read YCP data as the control file
Function parameters
string parsedControlFile
Return value
boolean
Read Profile properties and Version
Function parameters
map properties
Return value
void
Save YCP data into XML
Function parameters
string file
Return value
boolean - true on success
Save the current data into a file to be read after a reboot.
Function parameters
string parsedControlFile
Return value
boolean - true on success
Provide Compatibility to older distributions.
Function parameters
list<map> lvm_standalone
Return value
list<map> - LVM configuration integrated into partitioning resource
Provide Compatibility to older distributions.
Function parameters
list<map> raid_standalone
Return value
map - RAID configuration integrated into partitioning resource
compatibility to new language,keyboard and timezone client in 10.1
Return value
void