123. NetworkConfig

Network configuration data

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

123.2. Global Functions

123.2.1. Export

Export data

Return value

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

123.2.2. Import

Import data

Function parameters

  • map settings

Return value

  • boolean - true on success

123.2.3. Modified

Data was modified?

Return value

  • boolean - true if modified

123.2.4. Read

Read all network settings from the SCR

Return value

  • boolean - true on success

123.2.5. Write

Update the SCR according to network settings

Return value

  • boolean - true on success

123.3. Global Variables

123.3.1. Config

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

123.3.2. DHCP

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

123.4. Module Requirements

123.4.1. Module Imports

  • String

123.4.2. Module Includes