YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Arch
  • BootCommon
  • BootCommon
  • Bootloader
  • Map
  • Message
  • Mode
  • Popup
  • Progress
  • Report
  • Service
  • Storage
  • Summary

Global Variables

Global Functions

Local Variables

Local Functions

Info:

File: modules/Kdump.ycp Package: Configuration of kdump Summary: Kdump settings, input and output functions Authors: Jozef Uhliarik

$Id: Kdump.ycp 27914 2006-02-13 14:32:08Z locilka $

global Modified () -> boolean

Prototypes

global modified -> boolean

Data was modified?

global proposal_valid -> boolean

global available_partitions -> list <string>

List of available partiotions with known partition

global uknown_fs_partitions -> list <string>

List of available partiotions without filesystem or with uknown

global total_memory -> integer

Total available memory

local number_of_cpus -> integer

Number of cpus

global crashkernel_param_value -> string

String option indicates value of kernel parameter "crashkernel"

global add_crashkernel_param -> boolean

Boolean option indicates add kernel param "crashkernel"

global alocated_memory -> string

String option for alocate of memory for boot param "crashkernel"

global actual_boot_section -> string

String option identify which boot section was used during boot process

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 DEFAULT_CONFIG -> map <string, string >

map of deafult values for options in UI

global KDUMP_SETTINGS -> map <string, string >

map of kdump settings

local sl -> integer

time for progress bar

global Abort () -> boolean

Abort function

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

Data was modified?

Return value:
true if modified
local ReadDiskPartitions () -> boolean

Read disk partitions

Return value:
successfull
local CmpKernelAndBootOptions (list <string> kernel_option, list <string> boot_options) -> integer

Compare boot section options with

Parameters:
kernel_option
boot_options
Return value:
return number of differences
local AddDeviceVgamode (map section) -> list <string>

Function add into option from boot section root device and vgamode

Parameters:
section
Return value:
boot section + root and vgamode
local GetActualBootSection () -> string

Read actual boot section

Return value:
actual boot section
local ReadKdumpKernelParam () -> boolean

Read current kdump configuration

Return value:
successfull
local ReadAvailableCPU () -> boolean

Read available cpu

Return value:
successfull
local ReadAvailableMemory () -> boolean

Read available memory

Return value:
successfull
local ReadKdumpSettings () -> boolean

Read current kdump configuration

Return value:
successfull
local WriteKdumpSettings () -> boolean

Write current kdump configuration

Return value:
successfull
local WriteKdumpBootParameter () -> boolean

Write kdump boot argument crashkernel set kernel-kdump start at boot

Return value:
successfull
global Read () -> boolean

Read all kdump settings

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

Write all kdump settings

Return value:
true on success