YaST2 Developers Documentation: Configuration of dns-server

Configuration of dns-server

include/dns-server/dialog-main.ycp
Main tab-style dialog definitions

This module has an unstable interface.

Imports

  • CWM
  • CWMFirewallInterfaces
  • CWMServiceStart
  • CWMTsigKeys
  • Confirm
  • DialogTree
  • DnsRoutines
  • DnsServer
  • DnsServerAPI
  • DnsTsigKeys
  • Hostname
  • Hostname
  • IP
  • Label
  • Message
  • Mode
  • Mode
  • Popup
  • Popup
  • ProductFeatures
  • Report
  • Wizard

Local Functions

local ExpertStartUpDialog () -> term

Dialog Expert Settings - Start Up

Return value:
for Get_ExpertDialog()
local InitExpertStartUpPage (string key) -> void

Initialize the tab of the dialog

Parameters:
key
local StoreExpertStartUpPage (string key, map event) -> void

Store settings of a tab of a dialog

Parameters:
key
event
local HandleExpertStartUpPage (string key, map event) -> symbol

Handle events in a tab of a dialog

Parameters:
key
event
local ExpertForwardersDialog () -> term

Dialog Expert Settings - Forwarders

Return value:
for Get_ExpertDialog()
local ValidCharsForwardersPage () -> void

Setting `ValidChars for the dialog

local InitExpertForwardersPage (string key) -> void

Initialize the tab of the dialog

Parameters:
key
local StoreExpertForwardersPage (string key, map event) -> void

Store settings of a tab of a dialog

Parameters:
key
event
local HandleExpertForwardersPage (string key, map event) -> symbol

Handle events in a tab of a dialog

Parameters:
key
event
local ExpertBasicOptionsDialog () -> term

Dialog Expert Settings - Basic Options

Return value:
for Get_ExpertDialog()
local InitExpertBasicOptionsPage (string key) -> void

Initialize the tab of the dialog

Parameters:
key
local StoreExpertBasicOptionsPage (string key, map event) -> void

Store settings of a tab of a dialog

Parameters:
key
event
local IsUniqueOption (string option) -> boolean

Return if the option must be unique in configuration or not

Parameters:
option
local OptionIsSetYet (string option) -> boolean

Returns if the option was set yet

Parameters:
option
local OptionsIsYesNoType (string option) -> boolean

Returns if the option must be "yes" or "no"

Parameters:
option
local OptionsIsNumberType (string option) -> boolean

Returns if the option must be a number

Parameters:
option
local HandleExpertBasicOptionsPage (string key, map event) -> symbol

Handle events in a tab of a dialog

Parameters:
key
event
local Expert_Logging_Dialog () -> term

Dialog Expert Settings - Logging

Return value:
for Get_ExpertDialog()
local InitExpertLoggingPage (string key) -> void

Initialize the tab of the dialog

Parameters:
key
local StoreExpertLoggingPage (string key, map event) -> void

Store settings of a tab of a dialog

Parameters:
key
event
local HandleExpertLoggingPage (string key, map event) -> symbol

Handle events in a tab of a dialog

Parameters:
key
event
local Expert_ACLs_Dialog () -> term

Dialog Expert Settings - ACLs

Return value:
for Get_ExpertDialog()
local InitExpertAclPage (string key) -> void

Initialize the tab of the dialog

Parameters:
key
local StoreExpertAclPage (string key, map event) -> void

Store settings of a tab of a dialog

Parameters:
key
event
local IsAclDefined (string new_name, list<string> acls) -> boolean

Testing for acls duplicity

Parameters:
new_name
acls
local GetZonesWithAclUsed (string acl_name) -> list<string>

Returns zones where acl is used

Parameters:
acl_name
local ReallyRemoveACL (string acl_name) -> boolean

Really remove used ACL? (dialog)

Parameters:
acl_name
local HandleExpertAclPage (string key, map event) -> symbol

Handle events in a tab of a dialog

Parameters:
key
event
local ExpertZonesDialog () -> term

Dialog Expert Settings - ZonesZones

Return value:
for Get_ExpertDialog()
local ValidCharsZonesPage () -> void

Setting `ValidChars for the dialog

local InitExpertZonesPage (string key) -> void

Initialize the tab of the dialog

Parameters:
key
local StoreExpertZonesPage (string key, map event) -> void

Store settings of a tab of a dialog

Parameters:
key
event
local HandleExpertZonesPage (string key, map event) -> symbol

Handle events in a tab of a dialog

Parameters:
key
event
local runExpertDialog () -> symbol

Dialog Expert Settings

Return value:
for the wizard sequencer