Network configuration |
include/network/widgets.ycp |
| Widgets for CWM | |
|
|
|
This module has an unstable interface. |
Imports
Includes
Local VariablesLocal Functions |
local
ValidateIP (string key, map event)
->
boolean
Validator for IP adresses, no_popup
- Parameters:
-
key the widget being validated event the event being handled
- Return value:
-
whether valid
local
startmode_items
->
map<string, map<string, string> >
This is the data for widget_descr["STARTMODE"]. It is separated because the list of items depends on the device type and will be substituted dynamically. Helps are rich text, but not paragraphs.
local
CreateSlaveItems (list<integer> itemIds, list<string> enslavedIfaces)
->
list
Builds content for slave configuration dialog (used e.g. when configuring bond slaves) according the given list of itemIds (see LanItems::Items)
- Parameters:
-
itemIds list of indexes into LanItems::Items enslavedIfaces list of device names of already enslaved devices