YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Arch
  • Message
  • Popup
  • Progress
  • Report
  • SCR
  • Service
  • SuSEFirewall
  • SuSEFirewallServices
  • Summary

Global Functions

Local Variables

Local Functions

Info:

File: modules/RelocationServer.ycp Package: Configuration of relocation-server Summary: RelocationServer settings, input and output functions Authors: Li Dongyang

$Id: RelocationServer.ycp 41350 2007-10-10 16:59:00Z dfiser $

local modified -> boolean

Data was modified?

global GetModified () -> boolean

Returns whether the configuration has been modified.

global SetModified () -> void

Sets that the configuration has been modified.

global Abort () -> boolean

Returns a confirmation popup dialog whether user wants to really abort.

global PollAbort () -> boolean

Checks whether an Abort button has been pressed. If so, calls function to confirm the abort call.

Return value:
true if abort confirmed
local SETTINGS -> map <string, string >

map of xend settings

global GetXendOption (string option_key) -> string

Returns the Xend Option as a list of strings.

Parameters:
option_key
Return value:
with option_values
global GetDefaultXendOption (string option_key) -> string

Returns default Xend Option as a list of strings.

Parameters:
option_key
Return value:
with option_values
global SetXendOption (string option_key, string option_vals) -> void

Sets values for an option.

Parameters:
option_key
option_vals
local ReadXendSettings () -> boolean

Reads current xend configuration

local WriteXendSettings () -> boolean

Writes current xend configuration

local xend_is_running -> boolean

Describes whether the daemon is running

local ReadXendService () -> boolean

Reads current xend status

local WriteXendService () -> boolean

Restarts the xend when the daemon was running when starting the configuration

global Read () -> boolean

Read all relocation-server settings

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

Write all relocation-server settings

Return value:
true on success