YaST2 Developers Documentation: Network configuration

Network configuration

include/network/services/routing.ycp
Routing configuration dialogs
  • Michal Svec

This module has an unstable interface.

Routing configuration dialogs

Imports

  • CWM
  • CWMTab
  • IP
  • Label
  • Lan
  • Netmask
  • NetworkService
  • Popup
  • Routing
  • Wizard

Includes

  • network/lan/help.ycp
  • network/routines.ycp

Local Functions

local RoutingEditDialog (integer id, term entry, list devs) -> term

Route edit dialog

Parameters:
id id of the edited route
entry edited entry
devs available devices
Return value:
route or nil, if canceled
local RoutingMainDialog () -> any

Main routing dialog

Return value:
dialog result
local RoutingModified (string defgw) -> boolean

Check if internal data differ from the dialog values

Parameters:
defgw current default gw widget contents
Return value:
true if differ