Configuration of ntp-client |
modules/NtpClient.ycp |
Data for configuration of ntp-client, input and output functions. |
|
|
Representation of the configuration of ntp-client.
Input and output routines.
Imports
- Mode
- NetworkDevices
- Package
- Progress
- Report
- Service
- SuSEFirewall
- Summary
Includes
- ntp-client/misc.ycp
- ntp-client/widgets.ycp
Global Variables
Global Functions
|
|
|
Abort function
return boolean return true if abort
global modified -> boolean
|
|
Data was modified?
global write_only -> boolean
|
|
Write only, used during autoinstallation.
Don't run services and SuSEconfig, it's all done at one place.
global ntp_records -> list<map<string, any> >
|
|
Read all ntp-client settings
- Return value:
global run_service -> boolean
|
|
Should the daemon be started when system boots?
global run_chroot -> boolean
|
|
Should the daemon be started in chroot environment?
global selected_index -> integer
|
|
Index of the currently sellected item
global selected_record -> map<string,any>
|
|
The currently sellected item
global change_firewall -> boolean
|
|
Should the firewall settings be changed?
global firewall_settings -> map
|
|
Map containing settings of the firewall - keys INT, EXT, DMZ
global required_packages -> list
|
|
Required packages
global Read () -> boolean
|
|
Read all ntp-client settings
- Return value:
global Write () -> boolean
|
|
Write all ntp-client settings
- Return value:
global Import (map settings) -> boolean
|
|
Get all ntp-client settings from the first parameter
(For use by autoinstallation.)
- Parameters:
settings |
The YCP structure to be imported. |
- Return value:
Dump the ntp-client settings to a single map
(For use by autoinstallation.)
- Return value:
|
Dumped settings (later acceptable by Import ()) |
global Summary () -> string
|
|
Create a textual summary and a list of unconfigured cards
- Return value:
|
summary of the current configuration |
global getSyncRecords () -> list<map<string,any> >
|
|
Get the list of synchronization-related records
- Return value:
|
a list of maps with keys type (eg. "server"), address and index. |
global selectSyncRecord (integer index) -> boolean
|
|
Select synchronization record
- Parameters:
index |
integer, -1 for creating a new record |
- Return value:
global findSyncRecord (string type, string address) -> integer
|
|
Find index of synchronization record
- Parameters:
type |
string record type |
address |
string address |
- Return value:
|
index of the record if found, -1 otherwise |
global storeSyncRecord () -> boolean
|
|
Store currently sellected synchronization record
- Return value:
global deleteSyncRecord (integer index) -> boolean
|
|
Delete specified synchronization record
- Parameters:
index |
integer index of record to delete |
- Return value:
global AutoPackages () -> map
|
|
Return required packages for auto-installation
- Return value:
|
of packages to be installed and to be removed |
|