YaST2 Developers Documentation: Network/YPServer

Network/YPServer

securenets.ycp
YPServer module.

This module has an unstable interface.

YPServer module part.

Imports

  • IP
  • Label
  • NisServer
  • Popup
  • Wizard

Local Functions

local ItemizeSecurenets (list<map> nets) -> list<term>

Creates items for table from var_yp_securenets.scr any agent

Parameters:
nets list of output from securenets agent
$["netmask": "255.0.0.0", "network": "10.0.0.0"]
Return value:
a list of items formated for a UI table
local MergeNetsEntries (list<map> orig, list<term> edit) -> list<map>

Merge edited entries with the original entries with comments

Parameters:
orig list of original entries (with comments)
edit list with edited entries (as placed in the table)
Return value:
with merged entries
local NetsEditPopup (integer id, string netmask, string network) -> term

Popup dialog for editing netmask/network

Parameters:
id id of item
netmask netmask
network network
Return value:
a new item or nil on cancel
local QueryHosts () -> symbol

Securenets dialog

Return value:
`back, `next or `abort