YaST2 Developers Documentation: Network configuration

Network configuration

include/network/lan/dialogs.ycp
Summary, overview and IO dialogs for network cards config

This module has an unstable interface.

Imports

  • CWM
  • DNS
  • Label
  • Lan
  • Mode
  • NetworkConfig
  • NetworkModules
  • NetworkService
  • Package
  • Popup
  • Routing
  • Wizard
  • WizardHW

Includes

  • network/routines.ycp
  • network/summary.ycp

Local Functions

local Modified () -> boolean

Return a modification status

Return value:
true if data was modified
local Commit () -> symbol

Commit changes to internal structures

Return value:
always `next
local FinishDialog () -> symbol

Display finished popup

Return value:
dialog result
local ReadDialog () -> symbol

Read settings dialog

Return value:
`abort if aborted and `next otherwise
local WriteDialog () -> symbol

Write settings dialog

Return value:
`abort if aborted and `next otherwise
local ManagedInit (string key) -> void

Initialize the NetworkManager widget

Parameters:
key id of the widget
local ManagedStore (string key, map event) -> void

Store the NetworkManager widget

Parameters:
key id of the widget
event the event being handled
local ManagedDialog () -> symbol

Dialog to choose whether to use NetworkManager or not

local AddInterface (integer hwid) -> boolean

Start configuring a new interface (`add or `managed). Also install needed packages.

Parameters:
hwid
Return value:
whether to proceed with editing and commiting the config
local OverviewDialog () -> any

Overview dialog

Return value:
dialog result