YaST2 Developers Documentation: Network configuration

Network configuration

include/network/services/host.ycp
Hosts configuration dialogs

This module has an unstable interface.

Hosts configuration dialogs

Imports

  • Host
  • Hostname
  • IP
  • Label
  • Popup
  • Wizard

Includes

  • network/routines.ycp

Local Functions

local HostSystemPopup (string host, boolean delete) -> boolean

Check if given host is system and present warning in this case.

Parameters:
host host to be checked
delete true if the host will be deleted
Return value:
true if continue
local HostsMainDialog (boolean standalone) -> symbol

Main hosts dialog

Parameters:
standalone true if not run from another ycp client
Return value:
dialog result
local HostDialog (integer id, term entry, list forbidden) -> term

Host edit dialog

Parameters:
id id of the edited host
entry edited entry
forbidden already used IP addresses
Return value:
host or nil, if canceled