161. NetworkConfig

Network configuration data

161.1. Authors

  • Michal Svec <msvec@suse.cz>

161.2. Summary of Module Globals

List of Global Functions

  • Export - Export data

  • Import - Import data

  • Modified - Data was modified?

  • Read - Read all network settings from the SCR

  • Write - Update the SCR according to network settings

List of Global Variables

  • Config - Basic network settings (/etc/sysconfig/network/config)

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

161.3. Global Functions

161.3.1. Export

Export data

Return value

  • map - dumped settings (later acceptable by Import())

161.3.2. Import

Import data

Function parameters

  • map settings

Return value

  • boolean - true on success

161.3.3. Modified

Data was modified?

Return value

  • boolean - true if modified

161.3.4. Read

Read all network settings from the SCR

Return value

  • boolean - true on success

161.3.5. Write

Update the SCR according to network settings

Return value

  • boolean - true on success

161.4. Global Variables

161.4.1. Config

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

161.4.2. DHCP

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

161.5. Module Requirements

161.5.1. Module Imports

  • String

161.5.2. Module Includes