YaST2 Developers Documentation: Configuration of dhcp-server

Configuration of dhcp-server

include/dhcp-server/options.ycp
Popups for table/popup mechanism

This module has an unstable interface.

Imports

  • Address
  • DhcpServer
  • IP
  • Label

Global Functions

global fetchValue (any opt_id, string key) -> any

Fetch value from structures

Parameters:
opt_id any option id
key string option key
Return value:
the value
global storeValue (any opt_id, string key, any value) -> void

Store value to structures

Parameters:
opt_id any option id
key string option key
value any value to store
global commonPopupInit (any opt_id, string key) -> void

Fallback function to initialize the settings in the popup

Parameters:
opt_id any option id
key string option key
global commonPopupSave (any opt_id, string key) -> void

Fallback function to save settings from the popup

Parameters:
opt_id any option id
key string option key
global commonTableEntrySummary (any opt_id, string key) -> string

Fallback function to display summary text in the table

Parameters:
opt_id any option id
key string option key
Return value:
summary to be written to the table
global textWidgetInit (any opt_id, string key) -> void

Initialize the settings in the popup

Parameters:
opt_id any option id
key string option key
global quoted_string_init (any opt_id, string key) -> void

Initialize the settings in the popup

Parameters:
opt_id any option id
key string option key
global textWidgetStore (any opt_id, string key) -> void

Summary function of a table entry / popup

Parameters:
opt_id any option id
key any option key
global ip_address_validate (any opt_id, string key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
key any option key
event map representing the event that caused validation
Return value:
true if widget settings ok
global redraw_list (any opt_id, string key, map event, string label) -> void

Redraw selection box widget

Parameters:
opt_id any option id
key any option key
event map event that caused the operation
label string label of the selection box
global init_list (any opt_id, string key, string label) -> void

Initialize a selection box

Parameters:
opt_id any option id
key string option key
label string label of the selection box
global ip_array_init (any opt_id, string key) -> void

Initialize the settings in the popup

Parameters:
opt_id any option id
key string option key
global ip_array_handle (any opt_id, string key, map event) -> void

Handle the event on the popup

Parameters:
opt_id any option id
key string option key
event map event to be handled
global ip_array_validate (any opt_id, string key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
key any option key
event map representing the event that caused validation
Return value:
true if widget settings ok
global entry_array_store (any opt_id, string key) -> void

Store function of a table entry / popup

Parameters:
opt_id any option id
key any option key
global uint16_array_init (any opt_id, string key) -> void

Initialize the settings in the popup

Parameters:
opt_id any option id
key string option key
global uint16_array_handle (any opt_id, string key, map event) -> void

Handle the event on the popup

Parameters:
opt_id any option id
key string option key
event map event to be handled
global value_array_validate (any opt_id, string key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
key any option key
event map representing the event that caused validation
Return value:
true if widget settings ok
global ip_pair_array_handle (any opt_id, string key, map event) -> void

Handle the event on the popup

Parameters:
opt_id any option id
key string option key
event map event to be handled
global ip_pair_array_validate (any opt_id, string key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
key any option key
event map representing the event that caused validation
Return value:
true if widget settings ok
global flagInit (any opt_id, string key) -> void

Initialize the settings in the popup

Parameters:
opt_id any option id
key string option key
global flagStore (any opt_id, string key) -> void

Store function of a table entry / popup

Parameters:
opt_id any option id
key any option key
global flagSummary (any opt_id, string key) -> string

Summary function of a table entry / popup

Parameters:
opt_id any option id
key any option key
Return value:
value to be displayed in the table
global onoffInit (any opt_id, string key) -> void

Initialize the settings in the popup

Parameters:
opt_id any option id
key string option key
global onoffStore (any opt_id, string key) -> void

Store function of a table entry / popup

Parameters:
opt_id any option id
key any option key
global onoffSummary (any opt_id, string key) -> string

Summary function of a table entry / popup

Parameters:
opt_id any option id
key any option key
Return value:
value to be displayed in the table
global quoted_string_validate (any opt_id, string key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
key any option key
event map representing the event that caused validation
Return value:
true if widget settings ok
global uint8_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global uint16_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global uint32_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global int32_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global text_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global quoted_string_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global ip_address_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global array_ip_address_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global array_uint16_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global array_ip_address_pair_widget () -> map

Get popup description map for an option type

Return value:
popup description map
global hardwareInit (any opt_id, string opt_key) -> void

Initialization function of a table entry / popup

Parameters:
opt_id any option id
opt_key string option key
global hardwareStore (any opt_id, string opt_key) -> void

Store function of a table entry / popup

Parameters:
opt_id any option id
opt_key string option key
global hardwareValidate (any opt_id, string key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
key string option key
event a map event to validate
Return value:
true if widget settings ok
global rangeInit (any opt_id, string key) -> void

Initialization function of a table entry / popup

Parameters:
opt_id any option id
key string option key
global rangeStore (any opt_id, string key) -> void

Store function of a table entry / popup

Parameters:
opt_id any option id
key string option key
global rangeValidate (any opt_id, string key, map event) -> boolean

Validate function of a popup

Parameters:
opt_id any option id
key string option key
event a map event to validate
Return value:
true if widget settings ok
global InitPopups () -> void

Initialize popups Create description map and copy it into appropriate variable of the DhcpServer module