
functions
files
intro
|
|
Configuration of dhcp-server |
include/dhcp-server/routines.ycp |
Miscelanous functions for configuration of dhcp-server. |
|
|
Global Functions
Local Functions
|
|
|
local RestartDhcpDaemon () -> void
|
|
Restart the DHCP daemon
global typeid2key (string type, string id) -> string
|
|
Merge section id and key together to one identifier
- Parameters:
type |
string section type |
id |
string section identifier |
- Return value:
|
merged section type and id to one string |
global key2typeid (string key) -> map<string,string>
|
|
Split section type and id to two separate strings
- Parameters:
key |
string section type and id merged into one string |
- Return value:
|
a map with keys "type" and "id" |
global getItems (string type, string id) -> list
|
|
Get children declarations of a declaration
- Parameters:
type |
strign declaration type |
id |
string declaration id |
- Return value:
|
of items for the tree widget |
Abort function
- Return value:
global createNewSection (symbol what) -> map
|
|
Create new section
- Parameters:
what |
symbol specifying the section type, `global, `subnet
or `host |
- Return value:
|