Network configuration |
modules/DSL.ycp |
DSL data | |
|
|
This module has an unstable interface. |
Representation of the configuration of DSL.
Input and output routines.
Imports
Includes
Global VariablesGlobal Functions
Local Variables |
Special Capi-ADSL mode -- different presets for the first device. Used for ISDN-DSL combined hardware.
Ethernet network interface
VPI/VCI
DSL modem IP (used for PPTP)
PPP mode: pppoe or pppoatm
Hardware information
- See
-
ReadHardware
Abort function return boolean return true if abort
Data was modified?
Which operation is pending?
Data was modified?
- Return value:
-
true if modified
Read all network settings from the SCR
- Return value:
-
true on success
Update the SCR according to network settings
- Return value:
-
true on success
Select the given device
- Parameters:
-
dev device to select ("" for new device, default values)
- Return value:
-
true if success
Add a new device
- Return value:
-
true if success
Edit the given device
- Parameters:
-
name device to edit
- Return value:
-
true if success
Delete the given device
- Parameters:
-
name device to delete
- Return value:
-
true if success
Commit the pending operation
- Return value:
-
true if success
Propose a configuration
- Return value:
-
true if something was proposed
Import data
- Parameters:
-
settings settings to be imported
- Return value:
-
true on success
Export data
- Return value:
-
dumped settings (later acceptable by Import())
Create a textual summary and a list of unconfigured devices
- Parameters:
-
split split configured and unconfigured?
- Return value:
-
summary of the current configuration
Create an overview table with all configured devices
- Return value:
-
table items
Select the hardware component
- Parameters:
-
which index of the component
Return true if the device is used by any DSL connection
- Parameters:
-
device device to be tested
- Return value:
-
true if yes
Used to see whether we are in the process of adding a new interface or editing an existing one.
- Return value:
-
adding?