146. NetworkConfig

Network configuration data

146.1. Authors

  • Michal Svec <msvec@suse.cz>

146.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)

146.3. Global Functions

146.3.1. Export

Export data

Return value

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

146.3.2. Import

Import data

Function parameters

  • map settings

Return value

  • boolean - true on success

146.3.3. Modified

Data was modified?

Return value

  • boolean - true if modified

146.3.4. Read

Read all network settings from the SCR

Return value

  • boolean - true on success

146.3.5. Write

Update the SCR according to network settings

Return value

  • boolean - true on success

146.4. Global Variables

146.4.1. Config

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

146.4.2. DHCP

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

146.5. Module Requirements

146.5.1. Module Imports

  • String

146.5.2. Module Includes