YaST2 Developers Documentation: Network configuration



functions
files
intro

Network configuration

modules/NetworkConfig.ycp
Network configuration data
Representation of the configuration of network cards. Input and output routines. A simple container for /etc/sysconfig/network/{config,dhcp}

Includes

  • network/config.ycp

Global Variables

Global Functions

Local Variables

global Config -> map

Basic network settings (/etc/sysconfig/network/config)

global DHCP -> map

DHCP settings (/etc/sysconfig/network/dhcp)

local Orig_Config -> map

Basic network settings

local Orig_DHCP -> map

DHCP settings

local initialized -> boolean

True if data are already read

global Modified () -> boolean

Data was modified?

Return value:
true if modified

global Read () -> boolean

Read all network settings from the SCR

Return value:
true on success

global Write () -> boolean

Update the SCR according to network settings

Return value:
true on success

global Import (map settings) -> boolean

Import data

Parameters:
settings settings to be imported
Return value:
true on success

global Export () -> map

Export data

Return value:
dumped settings (later acceptable by Import())

YaST2 Developers Documentation