NM.DeviceEthernet¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
|||
r |
|||
[ |
r |
||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.DeviceEthernet(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_carrier()¶
-
Whether the device has carrier.
- get_permanent_hw_address()¶
- Returns:
the permanent hardware address. This is the internal string used by the device, and must not be modified.
- Return type:
Gets the permanent hardware (MAC) address of the
NM.DeviceEthernet
- get_s390_subchannels()¶
- Returns:
array of strings, each specifying one subchannel the s390 device uses to communicate to the host.
- Return type:
[
str
]
Return the list of s390 subchannels if the device supports them.
New in version 1.2.
- get_speed()¶
- Returns:
the speed of the device in Mbit/s
- Return type:
Gets the speed of the
NM.DeviceEthernet
in Mbit/s.
Property Details¶
- NM.DeviceEthernet.props.carrier¶
-
Whether the device has carrier.
- NM.DeviceEthernet.props.perm_hw_address¶
-
The permanent hardware (MAC) address of the device.
- NM.DeviceEthernet.props.s390_subchannels¶
-
Identifies subchannels of this network device used for communication with z/VM or s390 host.
New in version 1.2.