Network configuration |
include/network/complex.ycp |
Summary and overview functions | |
|
|
This module has an unstable interface. |
Used for initializing the description variable (ifcfg[NAME]) The code is mostly moved from BuildSummaryDevs Take the NAME field from ifcfg If empty, identify the hardware and use its data
- Parameters:
-
devtype devnum devmap Hardware
Build textual summary
- Parameters:
-
Devs Hardware split split configured and unconfigured? link add a link to configure the device (only if !split)
- Return value:
-
[ configured, unconfigured ] if split, [ summary, links ] otherwise
Build textual summary
- Parameters:
-
devregex Hardware split split configured and unconfigured? link add a link to configure the device (only if !split)
- Return value:
-
[ configured, unconfigured ] if split, [ summary, links ] otherwise
Fill in sensible string if the name is empty
- Parameters:
-
devtype device type hwname device name
- Return value:
-
hwname if not empty, "Unknown device" otherwise
Return a human readable hardware name for device with given id
- Parameters:
-
Hardware hardware map id id-..., bus-...-..., or unique
- Return value:
-
hardware name
Get aprovider name from the provider map
- Parameters:
-
provider identifier
- Return value:
-
provider name
- Example
-
ProviderName("tonline") -> "T-Online"
Return the textual device status
- Parameters:
-
devtype device type devname devmap map with devices settings
- Return value:
-
text wth device status
Return the device protocol or IP address in case of static config Or indicate that NetworkManager takes over.
- Parameters:
-
devmap device map
- Return value:
-
textual device protocol
Return description used for device summary dialog In case device is not connected "(not connected)" string will be added. Description also contains MAC address or BusID information.
- Parameters:
-
v Hardware
Create overview table contents List of terms `item (`id (id), ...)
- Parameters:
-
Devs Hardware
- Return value:
-
table items
Create overview table contents
- Parameters:
-
devregex Hardware
- Return value:
-
table items
Convert the output of BuildSummary for inclusion in the unified device list. Called by BuildUnconfigured and BuildUnconfiguredDevs.
- Parameters:
-
sum output of BuildSumary class netcard modem dsl, isdn too; determines how to arrange output, yuck
- Return value:
-
[ $[id, table_descr, rich descr] ]
- Parameters:
-
Devs configured devices class netcard modem dsl, isdn too Hardware the detected hardware
- Return value:
-
[ $[id, table_descr, rich descr] ]
- Parameters:
-
class netcard modem dsl. not isdn because it does not use NetworkInterfaces (#103073) Hardware the detected hardware
- Return value:
-
[ $[id, table_descr, rich descr] ]