NM.DhcpConfig¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class NM.DhcpConfig(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- get_family()¶
- Returns:
the IP address family; either
AF_INETorAF_INET6- Return type:
Gets the IP address family of the configuration
- get_one_option(option)¶
- Parameters:
option (
str) – the option to retrieve- Returns:
the configuration option’s value. This is the internal string used by the configuration, and must not be modified.
- Return type:
Gets one option by option name.
- get_options()¶
- Returns:
the
GLib.HashTablecontaining strings for keys and values. This is the internal copy used by the configuration, and must not be modified.- Return type:
Gets all the options contained in the configuration.
Property Details¶
- NM.DhcpConfig.props.family¶
-
The IP address family of the configuration; either
AF_INETorAF_INET6.
- NM.DhcpConfig.props.options¶
- Name:
options- Type:
- Default Value:
- Flags:
The
GLib.HashTablecontaining options of the configuration.