Network configuration |
modules/DSL.ycp |
DSL data |
|
|
Representation of the configuration of DSL.
Input and output routines.
Imports
- Detection
- Firewall
- Lan
- Language
- NetworkDevices
- Progress
- Provider
- Summary
Includes
- network/hardware.ycp
- network/routines.ycp
- network/runtime.ycp
Global Variables
Global Functions
Local Variables
|
|
|
Special Capi-ADSL mode -- different presets for the first device.
Used for ISDN-DSL combined hardware.
global interface -> string
|
|
Ethernet network interface
VPI/VCI
DSL modem IP (used for PPTP)
PPP mode: pppoe or pppoatm
local Hardware -> list<map>
|
|
Hardware information
- See:
-
global AbortFunction -> block<boolean>
|
|
Abort function
return boolean return true if abort
local modified -> boolean
|
|
Data was modified?
local operation -> symbol
|
|
Which operation is pending?
global Modified () -> boolean
|
|
Data was modified?
- Return value:
global Read () -> boolean
|
|
Read all network settings from the SCR
- Return value:
global Write () -> boolean
|
|
Update the SCR according to network settings
- Return value:
global Select (string dev) -> boolean
|
|
Select the given device
- Parameters:
dev |
device to select ("" for new device, default values) |
- Return value:
Add a new device
- Return value:
global Edit (string name) -> boolean
|
|
Edit the given device
- Parameters:
- Return value:
global Delete (string name) -> boolean
|
|
Delete the given device
- Parameters:
- Return value:
global Commit () -> boolean
|
|
Commit the pending operation
- Return value:
global Propose () -> boolean
|
|
Propose a configuration
- Return value:
|
true if something was proposed |
global Import (map settings) -> boolean
|
|
Import data
- Parameters:
settings |
settings to be imported |
- Return value:
Export data
- Return value:
|
dumped settings (later acceptable by Import()) |
global Summary (boolean split) -> list
|
|
Create a textual summary and a list of unconfigured devices
- Parameters:
split |
split configured and unconfigured? |
- Return value:
|
summary of the current configuration |
global Overview () -> list
|
|
Create an overview table with all configured devices
- Return value:
global SelectHW (integer which) -> void
|
|
Select the hardware component
- Parameters:
which |
index of the component |
global UsesDevice (string device) -> boolean
|
|
Return true if the device is used by any DSL connection
- Parameters:
device |
device to be tested |
- Return value:
|