YaST2 Developers Documentation: Configuration of heartbeat

Configuration of heartbeat

modules/Heartbeat.ycp
Heartbeat settings, input and output functions

This module has an unstable interface.

Representation of the configuration of heartbeat. Input and output routines.

Imports

  • Mode
  • PackageSystem
  • Progress
  • Report
  • Service
  • Summary

Global Variables

Global Functions

global Modified () -> boolean

Prototypes

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 heartbeat settings

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

Write all heartbeat settings

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

Get all heartbeat 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 heartbeat 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 Overview () -> list

Create an overview table with all configured cards

Return value:
table items
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.