org.opensuse.Network.Ethernet
Namespace
Properties
- address (ethernet-address).
- link-speed (uint32).
- port-type (port_t).
- duplex (duplex_t).
- autoneg-enable (tristate).
- wake-on-lan (dict). This is a dict-based type that provides the following members:
- offload (dict). This is a dict-based type that provides the following members:
- permanent-address (ethernet-address).
Methods
- void changeDevice(dict config)
-
Argument config is mapped to element <ethernet> of the device document.
It is a dict-based type that provides the following members:
- address (ethernet-address).
- link-speed (uint32).
- port-type (port_t).
- duplex (duplex_t).
- autoneg-enable (tristate).
- wake-on-lan (dict). This is a dict-based type that provides the following members:
- offload (dict). This is a dict-based type that provides the following members:
Types defined in this scope
Type name |
Kind |
Definition |
duplex_t | uint32 | below |
port_t | uint32 | below |
wol-flag-mask | uint32 | below |
configuration | dict | below |
Type duplex_t
This is a uint32 enumerated type, which can take the following values:
- default (0)
- half (1)
- full (2)
- none (3)
Type port_t
This is a uint32 enumerated type, which can take the following values:
- default (0)
- tp (1)
- aui (2)
- bnc (3)
- mii (4)
- fibre (5)
Type wol-flag-mask
This is a uint32 bitmap type, which is a combination of zero or more of the following flags:
- phy (0)
- unicast (1)
- multicast (2)
- broadcast (3)
- arp (4)
- magic (5)
- secure-on (6)
Type configuration
This is a dict-based type that provides the following members:
- address (ethernet-address).
- link-speed (uint32).
- port-type (port_t).
- duplex (duplex_t).
- autoneg-enable (tristate).
- wake-on-lan (dict). This is a dict-based type that provides the following members:
- offload (dict). This is a dict-based type that provides the following members: