55. DSL

DSL data

55.1. Authors

  • Michal Svec <msvec@suse.cz>

55.2. 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

  • Propose - Propose a configuration

  • 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

  • UsesDevice - Return true if the device is used by any DSL connection

  • Write - Update the SCR according to network settings

List of Global Variables

  • AbortFunction - Abort function return boolean return true if abort

  • capiadsl - Special Capi-ADSL mode -- different presets for the first device. Used for ISDN-DSL combined hardware.

  • interface - Ethernet network interface

  • modemip - DSL modem IP (used for PPTP)

  • pppmode - PPP mode: pppoe or pppoatm

  • vpivci - VPI/VCI

55.3. Global Functions

55.3.1. Add

Add a new device

Return value

  • boolean - true if success

55.3.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?

55.3.3. Commit

Commit the pending operation

Return value

  • boolean - true if success

55.3.4. Delete

Delete the given device

Function parameters

  • string name

Return value

  • boolean - true if success

55.3.5. Edit

Edit the given device

Function parameters

  • string name

Return value

  • boolean - true if success

55.3.6. Export

Export data

Return value

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

55.3.7. Import

Import data

Function parameters

  • map settings

Return value

  • boolean - true on success

55.3.8. Modified

Data was modified?

Return value

  • boolean - true if modified

55.3.9. Overview

Create an overview table with all configured devices

Return value

  • list - table items

55.3.10. Propose

Propose a configuration

Return value

  • boolean - true if something was proposed

55.3.11. Read

Read all network settings from the SCR

Return value

  • boolean - true on success

55.3.12. Select

Select the given device

Function parameters

  • string dev

Return value

  • boolean - true if success

55.3.13. SelectHW

Select the hardware component

Function parameters

  • integer which

Return value

  • void

55.3.14. Summary

Create a textual summary and a list of unconfigured devices

Function parameters

  • boolean split

Return value

  • list - summary of the current configuration

55.3.15. UsesDevice

Return true if the device is used by any DSL connection

Function parameters

  • string device

Return value

  • boolean - true if yes

55.3.16. Write

Update the SCR according to network settings

Return value

  • boolean - true on success

55.4. Global Variables

55.4.1. AbortFunction

Abort function return boolean return true if abort

55.4.2. capiadsl

Special Capi-ADSL mode -- different presets for the first device. Used for ISDN-DSL combined hardware.

55.4.3. interface

Ethernet network interface

55.4.4. modemip

DSL modem IP (used for PPTP)

55.4.5. pppmode

PPP mode: pppoe or pppoatm

55.4.6. vpivci

VPI/VCI

55.5. Module Requirements

55.5.1. Module Imports

  • Confirm
  • Lan
  • NetHwDetection
  • NetworkInterfaces
  • NetworkService
  • Progress
  • Provider
  • SuSEFirewall4Network
  • Summary

55.5.2. Module Includes

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