YaST2 Developers Documentation: novell-common | ![]() |
![]() functions files intro |
Function: ReplaceEmbededDots(string text, string replaceString) Replace "\\." with "-" for X500 name validation
Function: ReplacePlusesInString(string text, string replaceString) Replace "+" with "\\."
Function: map GetAllStaticInterfaces() returns a map of all network interfaces with static IP addresses The returned map is structued as follows: $[IP_Address:Hardware_Address]
Function: global string GetIPAddr() The original method is found above (GetIPAddrEth0) It was insufficient as it only returned the IP address associated with eth0 This updated function gets the IP address of the 1st interface with a static address If there are no such addresses then return empty string
Function: MapIPAddrToDevice(string ip) Given an IP address return the device to which the address is bound
Find a value in the Novell registry
Validate password
See if the specified product was installed during phase 1 of the install. This is how we determine if a product should show up in the proposal screen. The input parameter "selection_name" should match the name of the selection file for which information is required (e.g. novell-imanager, novell-ifolder2, X11, Linux_tools, etc.). The parameter "selection_name" is not case sensitive.
See if eDirectory is installed locally on this machine.
Determine what the default and fallback IP addresses should be for a product. Input: ldapIP: the IP address returned by the ldap dialogs. |
YaST2 Developers Documentation | ![]() |