114. Modem

Modem data

114.1. Summary of Module Globals

List of Global Functions

  • Add - Add a new device

  • Adding - Used to see whether we are in the process of adding a new interface or editing an existing one.

  • Commit - Commit the pending operation

  • Delete - Delete the given device

  • Edit - Edit the given device

  • Export - Export data

  • Import - Import data

  • Modified - Data was modified?

  • Overview - Create an overview table with all configured devices

  • Read - Read all network settings from the SCR

  • Select - Select the given device

  • SelectHW - Select the hardware component

  • Summary - Create a textual summary and a list of unconfigured devices

  • Write - Update the SCR according to network settings

List of Global Variables

  • AbortFunction - Abort function return boolean return true if abort

  • hotplug - Hotplug type ("" if not hot pluggable)

114.2. Global Functions

114.2.1. Add

Add a new device

Return value

  • boolean - true if success

114.2.2. Adding

Used to see whether we are in the process of adding a new interface or editing an existing one.

Return value

  • boolean - adding?

114.2.3. Commit

Commit the pending operation

Return value

  • boolean - true if success

114.2.4. Delete

Delete the given device

Function parameters

  • string name

Return value

  • boolean - true if success

114.2.5. Edit

Edit the given device

Function parameters

  • string name

Return value

  • boolean - true if success

114.2.6. Export

Export data

Return value

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

114.2.7. Import

Import data

Function parameters

  • map settings

Return value

  • boolean - true on success

114.2.8. Modified

Data was modified?

Return value

  • boolean - true if modified

114.2.9. Overview

Create an overview table with all configured devices

Return value

  • list - table items

114.2.10. Read

Read all network settings from the SCR

Return value

  • boolean - true on success

114.2.11. Select

Select the given device

Function parameters

  • string dev

Return value

  • boolean - true if success

114.2.12. SelectHW

Select the hardware component

Function parameters

  • integer which

Return value

  • void

114.2.13. Summary

Create a textual summary and a list of unconfigured devices

Function parameters

  • boolean split

Return value

  • list - summary of the current configuration

114.2.14. Write

Update the SCR according to network settings

Return value

  • boolean - true on success

114.3. Global Variables

114.3.1. AbortFunction

Abort function return boolean return true if abort

114.3.2. hotplug

Hotplug type ("" if not hot pluggable)

114.4. Module Requirements

114.4.1. Module Imports

  • NetworkDevices
  • NetworkService
  • Progress
  • Provider
  • Routing
  • Service
  • SuSEFirewall4Network
  • Summary

114.4.2. Module Includes

  • network/complex.ycp
  • network/hardware.ycp
  • network/routines.ycp
  • network/runtime.ycp