133. NetworkConfig

Network configuration data

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

133.2. Global Functions

133.2.1. Export

Export data

Return value

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

133.2.2. Import

Import data

Function parameters

  • map settings

Return value

  • boolean - true on success

133.2.3. Modified

Data was modified?

Return value

  • boolean - true if modified

133.2.4. Read

Read all network settings from the SCR

Return value

  • boolean - true on success

133.2.5. Write

Update the SCR according to network settings

Return value

  • boolean - true on success

133.3. Global Variables

133.3.1. Config

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

133.3.2. DHCP

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

133.4. Module Requirements

133.4.1. Module Imports

  • String

133.4.2. Module Includes