NM.SettingGeneric¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.SettingGeneric(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Generic Link Settings
- classmethod new()¶
- Returns:
the new empty
NM.SettingGeneric
object- Return type:
Creates a new
NM.SettingGeneric
object with default values.
- get_device_handler()¶
-
Returns the
NM.SettingGeneric
:device-handler
property of the connection.New in version 1.46.
Property Details¶
- NM.SettingGeneric.props.device_handler¶
- Name:
device-handler
- Type:
- Default Value:
- Flags:
Name of the device handler that will be invoked to add and delete the device for this connection. The name can only contain ASCII alphanumeric characters and ‘-’, ‘_’, ‘.’. It cannot start with ‘.’.
See the NetworkManager-dispatcher(8) man page for more details about how to write the device handler.
By setting this property the generic connection becomes “virtual”, meaning that it can be activated without an existing device; the device will be created at the time the connection is started by invoking the device-handler.
New in version 1.46.