YaST2 Developers Documentation: Network configuration



functions
files
intro

Network configuration

modules/ISDN.ycp
ISDN data
Representation of the configuration of ISDN. Input and output routines.

Imports

  • Firewall
  • Progress
  • Provider
  • Summary

Includes

  • network/complex.ycp
  • network/devices.ycp
  • network/hardware.ycp
  • network/isdn/config.ycp
  • network/isdn/routines.ycp
  • network/routines.ycp
  • network/runtime.ycp

Global Variables

Global Functions

Local Variables

global hw_device -> map

hold current device settings handled items are line specific PROTOCOL D-channel protocol AREACODE international area code DIALPREFIX dialprefixfor PBX setups hw specific PARA_IO IO address for legacy ISA PARA_MEMBASE memory base address for legacy ISA PARA_IRQ IRQ number for legacy ISA PARA_TYPE card type PARA_SUBTYPE card sub type NAME full card name DRIVER driver module name STARTMODE "onboot"|"manual"|"hotplug" DEBUG debuglevel UNIQUE unique hw id

global interface -> map

hold current interface settings handled items are IPADDR local IP address REMOTE_ADDR remote IP address DEFAULTROUTE default route yes/no DYNAMICIP dynamic IP assignment yes/no PROTOCOL encapsulation "rawip" | "syncip" MSN own phone number CHARGEHUP try to hangup on idle just before next charge CALLBACK callback mode CBDELAY callback delay STARTMODE onboot | manual | hotplug MULTILINK channel bundling yes/no PROVIDER default provider filename IPPPD_OPTIONS additional ipppd options

global have_dsl -> boolean

Flag for Fritz!card DSL configuration

global operation -> symbol

Which operation is pending?

global skip -> boolean

If the interface or provider configuration is skipped

local Hardware -> list<map>

Hardware information

See:
ReadHardware

local Devices -> map<string,map>

Config information

See:
ReadDevices

local DeletedDevices -> list<string>

deleted devices

global AbortFunction -> block<boolean>

Abort function return boolean return true if abort

local modified_hw -> boolean

Data was modified?

global Modified () -> boolean

Data was modified?

Return value:
true if modified

global Read () -> boolean

Read all ISDN settings from the SCR

Return value:
true on success

global WriteOnly () -> boolean

Only write configuration without starting any init scripts and SuSEconfig

Return value:
true on success

global Write (boolean start) -> boolean

Update the SCR according to network settings

Parameters:
start
Return value:
true on success if start is true, load drivers and interfaces

global TestDev (string dev) -> boolean

Test the given card settings

Parameters:
dev
Return value:
true on success

global set_cardparameter (map cfg) -> void

default settings of hw device

Parameters:
cfg

global set_ifparameter (map cfg) -> void

default settings of interface

Parameters:
cfg

global set_hwparameter (map hw) -> void

copy detected hw settings to current item

Parameters:
hw

Info:

Select the given hardware item or clean up structures

Parameters:
which item to be chosen

global Import (map settings) -> boolean

Parameters:
settings

global Export () -> map

global Summary (boolean split) -> list

Build a textual summary and a list of unconfigured cards

Parameters:
split
Return value:
summary of the current configuration

global OverviewDev () -> list

global CountIF () -> integer

Count of valid interface entries

Return value:
count

global PrepareInterface () -> boolean

If not allready done set a valid interface

Return value:
true if the selection was successful false if here aren't any interfaces

global SelectInterface (boolean auto) -> boolean

Displays a popup to select one interface to be the current interface

Parameters:
auto if true and only one interface exist take it without a extra dialog
Return value:
true if the selection war successful false if here aren't any interfaces

YaST2 Developers Documentation