121. NetworkConfig

Network configuration data

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

121.2. Global Functions

121.2.1. Export

Export data

Return value

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

121.2.2. Import

Import data

Function parameters

  • map settings

Return value

  • boolean - true on success

121.2.3. Modified

Data was modified?

Return value

  • boolean - true if modified

121.2.4. Read

Read all network settings from the SCR

Return value

  • boolean - true on success

121.2.5. Write

Update the SCR according to network settings

Return value

  • boolean - true on success

121.3. Global Variables

121.3.1. Config

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

121.3.2. DHCP

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

121.4. Module Requirements

none