Top |
org.freedesktop.NetworkManager.Connection.Activeorg.freedesktop.NetworkManager.Connection.Active — Active Connection |
Connection readable o SpecificObject readable o Id readable s Uuid readable s Type readable s Devices readable ao State readable u StateFlags readable u Default readable b Ip4Config readable o Dhcp4Config readable o Default6 readable b Ip6Config readable o Dhcp6Config readable o Vpn readable b Master readable o
Objects that implement the Connection.Active interface represent an attempt to connect to a network using the details provided by a Connection object. The Connection.Active object tracks the life-cycle of the connection attempt and if successful indicates whether the connected network is the "default" or preferred network for access. NetworkManager has the concept of connections, which can be thought of as settings, a profile or a configuration that can be applied on a networking device. Such settings-connections are exposed as D-Bus object and the active-connection expresses this relationship between device and settings-connection. At any time a settings-connection can only be activated on one device and vice versa. However, during activation and deactivation multiple active-connections can reference the same device or settings-connection as they are waiting to be activated or to be deactivated.
StateChanged (u state, u reason);
Emitted when the state of the active connection has changed.
Since: 1.8
|
(NMActiveConnectionState) The new state of the active connection. |
|
(NMActiveConnectionStateReason) Reason code describing the change to the new state. |
SpecificObject readable o
A specific object associated with the active connection. This property reflects the specific object used during connection activation, and will not change over the lifetime of the ActiveConnection once set.
Id readable s
The ID of the connection, provided as a convenience so that clients do not have to retrieve all connection details.
Uuid readable s
The UUID of the connection, provided as a convenience so that clients do not have to retrieve all connection details.
Type readable s
The type of the connection, provided as a convenience so that clients do not have to retrieve all connection details.
Devices readable ao
Array of object paths representing devices which are part of this active connection.
State readable u
The state of this active connection.
Returns: NMActiveConnectionState
StateFlags readable u
The state flags of this active connection.
Returns: NMActivationStateFlags
Default readable b
Whether this active connection is the default IPv4 connection, i.e. whether it currently owns the default IPv4 route.
Ip4Config readable o
Object path of the Ip4Config object describing the configuration of the connection. Only valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
Dhcp4Config readable o
Object path of the Dhcp4Config object describing the DHCP options returned by the DHCP server (assuming the connection used DHCP). Only valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
Default6 readable b
Whether this active connection is the default IPv6 connection, i.e. whether it currently owns the default IPv6 route.
Ip6Config readable o
Object path of the Ip6Config object describing the configuration of the connection. Only valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
Dhcp6Config readable o
Object path of the Dhcp6Config object describing the DHCP options returned by the DHCP server (assuming the connection used DHCP). Only valid when the connection is in the NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.