Network configuration |
include/network/summary.ycp |
Summary and overview functions | |
|
|
This module has an unstable interface. |
All config settings are stored in a global variable Devices.
All hardware settings are stored in a global variable Hardware.
Deleted devices are in the global list DELETED.
Imports
Local Functions
|
local
DeviceType (string type)
->
string
Return textual device type
- Parameters:
-
type device type
- Return value:
-
textual form of device type
- Example
-
DeviceType("eth") -> "Ethernet"
local
BuildTypesList (list<string> types, string cur)
->
list<term>
Create list of Table items
- Parameters:
-
types list of types cur current type
- Return value:
-
Table items
local
OverviewTableContents (string caption, term header, list contents, boolean first)
->
term
Create table widget for the overview screens with correct spacings
- Parameters:
-
caption table caption header table header contents table contents first table is first of the two tables
- Return value:
-
table widget
local
OverviewTable (term header, list contents)
->
term
Create table widget for the overview screens
- Parameters:
-
header table header contents table contents
- Return value:
-
table widget
local
OverviewTableDouble (string caption1, term header1, list contents1, string caption2, term header2, list contents2)
->
term
Create two table widgets for the overview screens
- Parameters:
-
caption1 first table caption header1 first table header contents1 first table contents caption2 second table caption header2 second table header contents2 second table contents
- Return value:
-
table widget