1 <?xml version="1.0" encoding="UTF-8" ?>
3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
4 <interface name="org.freedesktop.NetworkManager.Connection.Active">
5 <property name="ServiceName" type="s" access="read">
6 <tp:docstring>The D-Bus service name providing this connection.</tp:docstring>
8 <property name="Connection" type="o" access="read">
9 <tp:docstring>The path of the connection.</tp:docstring>
11 <property name="SpecificObject" type="o" access="read">
12 <tp:docstring>A specific object associated with the active connection.</tp:docstring>
14 <property name="Devices" type="ao" access="read">
15 <tp:docstring>Array of object paths representing devices which are part of this active connection.</tp:docstring>
17 <property name="State" type="u" access="read" tp:type="NM_ACTIVE_CONNECTION_STATE">
18 <tp:docstring>The state of this active connection.</tp:docstring>
20 <property name="Default" type="b" access="read">
21 <tp:docstring>Whether this active connection is the default connection, i.e. whether it currently owns the default route.</tp:docstring>
25 <interface name="org.freedesktop.NetworkManager.VPN.Connection">
27 Represents an active connection to a Virtual Private Network.
30 <signal name="PropertiesChanged">
31 <arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
33 A dictionary mapping property names to variant boxed values
38 <property name="VpnState" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
39 <tp:docstring>The VPN-specific state of the connection.</tp:docstring>
41 <property name="Banner" type="s" access="read">
42 <tp:docstring>The banner string of the VPN connection.</tp:docstring>
45 <signal name="VpnStateChanged">
47 Emitted when the state of the VPN connection has changed.
49 <arg name="state" type="u" tp:type="NM_VPN_CONNECTION_STATE">
51 The new state of the VPN connection.
54 <arg name="reason" type="u" tp:type="NM_VPN_CONNECTION_STATE_REASON">
56 Reason code describing the change to the new state.
61 <tp:enum name="NM_VPN_CONNECTION_STATE" type="u">
62 <tp:enumvalue suffix="UNKNOWN" value="0">
64 The state of the VPN connection is unknown.
67 <tp:enumvalue suffix="PREPARE" value="1">
69 The VPN connection is preparing to connect.
72 <tp:enumvalue suffix="NEED_AUTH" value="2">
74 The VPN connection needs authorization credentials.
77 <tp:enumvalue suffix="CONNECT" value="3">
79 The VPN connection is being established. FIXME: Should be CONNECTING or CONNECTED.
82 <tp:enumvalue suffix="IP_CONFIG_GET" value="4">
84 The VPN connection is getting an IP address. FIXME: Should be an -ING
87 <tp:enumvalue suffix="ACTIVATED" value="5">
89 The VPN connection is active.
92 <tp:enumvalue suffix="FAILED" value="6">
94 The VPN connection failed.
97 <tp:enumvalue suffix="DISCONNECTED" value="7">
99 The VPN connection is disconnected.
103 <tp:enum name="NM_VPN_CONNECTION_STATE_REASON" type="u">
104 <tp:enumvalue suffix="UNKNOWN" value="0">
106 The reason for the VPN connection state change is unknown.
109 <tp:enumvalue suffix="NONE" value="1">
111 No reason was given for the VPN connection state change.
114 <tp:enumvalue suffix="USER_DISCONNECTED" value="2">
116 The VPN connection changed state because the user disconnected it.
119 <tp:enumvalue suffix="DEVICE_DISCONNECTED" value="3">
121 The VPN connection changed state because the device it was using was disconnected.
124 <tp:enumvalue suffix="SERVICE_STOPPED" value="4">
126 The service providing the VPN connection was stopped.
129 <tp:enumvalue suffix="IP_CONFIG_INVALID" value="5">
131 The IP config of the VPN connection was invalid.
134 <tp:enumvalue suffix="CONNECT_TIMEOUT" value="6">
136 The connection attempt to the VPN service timed out.
139 <tp:enumvalue suffix="SERVICE_START_TIMEOUT" value="7">
141 A timeout occurred while starting the service providing the VPN connection.
144 <tp:enumvalue suffix="SERVICE_START_FAILED" value="8">
146 Starting the service starting the service providing the VPN connection failed.
149 <tp:enumvalue suffix="NO_SECRETS" value="9">
151 Necessary secrets for the VPN connection were not provided.