Unknown YCP Module |
|
This module has an unstable interface. |
Hardware information
- See
-
ReadHardware
Data was modified?
Which operation is pending?
wl_wpa_eap aggregates the settings in a map for easier CWM access.
Structure wpa_eap
WPA_EAP_MODE: string ("TTLS" "PEAP" or "TLS")
WPA_EAP_IDENTITY: string
WPA_EAP_PASSWORD: string (for TTLS and PEAP)
WPA_EAP_ANONID: string (for TTLS and PEAP)
WPA_EAP_CLIENT_CERT: string (for TLS, file name)
WPA_EAP_CLIENT_KEY: string (for TLS, file name)
WPA_EAP_CLIENT_KEY_PASSWORD: string (for TLS)
WPA_EAP_CA_CERT: string (file name)
WPA_EAP_AUTH: string ("", "MD5", "GTC", "CHAP"*, "PAP"*, "MSCHAP"*, "MSCHAPV2") (*: TTLS only)
WPA_EAP_PEAP_VERSION: string ("", "0", "1")
Returns configuration of item (see LanItems::Items) with given id.
- Parameters:
-
itemId
Returns configuration for currently modified item.
Returns true if the item (see LanItems::Items) has netconfig configuration.
- Parameters:
-
itemId
Returns true if current (see LanItems::current) has configuration
Returns device name for given lan item.
- Parameters:
-
itemId
Returns device name for current lan item (see LanItems::current)
Returns device type for particular lan item
- Parameters:
-
itemId
Returns ifcfg configuration for particular item
- Parameters:
-
itemId
Returns udev rule known for particular item
- Parameters:
-
itemId
Function which returns if the settings were modified
- Return value:
-
settings were modified
Function sets internal variable, which indicates, that any settings were modified, to "true"
Function sets internal variable, which indicates, that any settings were modified, to "false"
Searches map of known devices and decides if referenced lan item can be enslaved in a bond device
- Parameters:
-
bondMaster name of master device itemId index into LanItems::Items
Decides if given lan item can be enslaved in a bridge.
- Parameters:
-
bridgeMaster name of master device itemId index into LanItems::Items
Iterates over all items and lists those for which given validator returns true.
- Parameters:
-
master
- Return value:
-
of lan item ids (see LanItems::Items)
Creates list of items (interfaces) which can be used as a bond slave.
- Parameters:
-
bondMaster bond device name
Creates list of items (interfaces) which can be used as a bridge slave.
- Parameters:
-
bridgeMaster bridge device name
search all known devices to find it's index in Items array
- Parameters:
-
device matched with item[ "hwinfo", "dev_name"]
- Return value:
-
index in Items or -1 if not found
Creates list of devices enslaved in any bond device.
- Parameters:
-
bond_master
Create an overview table with all configured devices
- Return value:
-
table items
Check if currently edited device gets its IP address from DHCP (v4, v6 or both)
- Return value:
-
true if it is
Check if the given device has any virtual alias.
- Return value:
-
true if there are some aliases
Select the hardware component
- Parameters:
-
hardware
Select the hardware component
- Parameters:
-
which index of the component
Return 10 free devices
- Parameters:
-
type device type
- Return value:
-
of 10 free devices
Return 10 free aliases
- Parameters:
-
type device type num device number
- Return value:
-
of 10 free devices
must be in sync with SetDefaultsForHW
must be in sync with GetDefaultsForHW
Set various device variables
- Parameters:
-
devmap map with variables defaults
Initializes s390 specific device variables.
- Parameters:
-
devmap map with s390 specific attributes and its values defaults map with default values for attributes not found in devmap
the defaults here are what sysconfig defaults to (as opposed to what a new interface gets, in Select)
Default values used when creating an emulated NIC for physical s390 hardware.
Select the given device
- Parameters:
-
dev device to select ("" for new device, default values)
- Return value:
-
true if success
Commit pending operation
- Return value:
-
true if success
Get the module configuration for the modules configured in the interface section
- Parameters:
-
ay_device Device, for example eth0 ay_modules list of modules from the AY profile
- Return value:
-
the module map with module name and options
Find matching device Find a device, optionally with some predefined values
- Parameters:
-
interface interface map
- Return value:
-
The map of the matching device.