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
Global VariablesGlobal FunctionsLocal 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())