YaST2 Developers Documentation: Configuration of novell-client

Configuration of novell-client

modules/NovellClient.ycp
NovellClient settings, input and output functions
  • ClientCPR

This module has an unstable interface.

Representation of the configuration of novell-client. Input and output routines.

Imports

  • Directory
  • Popup
  • Progress
  • Report
  • Summary

Global Variables

Global Functions

Local Functions

global Modified () -> boolean

Prototypes

global modified -> boolean

Data was modified?

global proposal_valid -> boolean

global write_only -> boolean

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

Info:

Abort function return boolean return true if abort

global Abort () -> boolean

Abort function

Return value:
return true if abort
global Modified () -> boolean

Data was modified?

Return value:
true if modified
global Read () -> boolean

Read all novell-client settings

Return value:
true on success
global Write () -> boolean

Write all novell-client settings

Return value:
true on success
global Import (map settings) -> boolean

Get all novell-client settings from the first parameter (For use by autoinstallation.)

Parameters:
settings The YCP structure to be imported.
Return value:
True on success
global Export () -> map

Dump the novell-client settings to a single map (For use by autoinstallation.)

Return value:
Dumped settings (later acceptable by Import ())
global Summary () -> list

Create a textual summary and a list of unconfigured cards

Return value:
summary of the current configuration
global AutoPackages () -> map

Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

Return value:
with 2 lists.
local FixSLPConfFile () -> boolean

There is a problem with the ini agent reading an slp.conf file that has the following format: ;net.slp.useScopes net.slp.useScopes = myScope

To avoid the problem, this function will pre-process the slp.conf file, looking for multiple occurrances of the keys that we use and check to see if the above mentioned format exists. If it does, it will replace the ; with a #

Return value:
true on success