Network configuration |
include/network/lan/s390.ycp |
| Network card adresss configuration dialogs | |
|
|
|
This module has an unstable interface. |
Local Functions |
local
ReadQethAttribute (string devname, string attrib)
->
string
Reads particular qeth attribute and returns its value as a string.
- Parameters:
-
devname attrib attribute name as exported by qeth module
- Return value:
-
attribute value or nil in case of error.
local
ReadQethConfig (string devname)
->
map<string, any>
Reads attributes for particular qeth based network device.
Returned map is compatible with similar map used for storing sysconfig values used elswhere in the code. As a consequence, boolean values are stored as strings with yes/no value.
Currently loaded attributes are: QETH_LAYER2 yes/no string. QETH_PORTNAME portname or empty string QETH_PORTNUMBER portnumber or empty string QETH_CHANIDS read/write/control channel ids separated by space (compatibility requirement)
see lsqeth for inspiration
- Parameters:
-
devname
- Return value:
-
a map with keys QETH_LAYER2, QETH_PORTNAME, QETH_PORTNUMBER, QETH_CHANIDS