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.VPN.Connection">
5 <annotation name="org.gtk.GDBus.C.Name" value="VpnConnection"/>
8 Represents an active connection to a Virtual Private Network.
11 <signal name="PropertiesChanged">
12 <arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
14 A dictionary mapping property names to variant boxed values
19 <property name="VpnState" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
20 <tp:docstring>The VPN-specific state of the connection.</tp:docstring>
22 <property name="Banner" type="s" access="read">
23 <tp:docstring>The banner string of the VPN connection.</tp:docstring>
26 <signal name="VpnStateChanged">
28 Emitted when the state of the VPN connection has changed.
30 <arg name="state" type="u" tp:type="NM_VPN_CONNECTION_STATE">
32 The new state of the VPN connection.
35 <arg name="reason" type="u" tp:type="NM_VPN_CONNECTION_STATE_REASON">
37 Reason code describing the change to the new state.
42 <tp:enum name="NM_VPN_CONNECTION_STATE" type="u">
43 <tp:enumvalue suffix="UNKNOWN" value="0">
45 The state of the VPN connection is unknown.
48 <tp:enumvalue suffix="PREPARE" value="1">
50 The VPN connection is preparing to connect.
53 <tp:enumvalue suffix="NEED_AUTH" value="2">
55 The VPN connection needs authorization credentials.
58 <tp:enumvalue suffix="CONNECT" value="3">
60 The VPN connection is being established. FIXME: Should be CONNECTING or CONNECTED.
63 <tp:enumvalue suffix="IP_CONFIG_GET" value="4">
65 The VPN connection is getting an IP address. FIXME: Should be an -ING
68 <tp:enumvalue suffix="ACTIVATED" value="5">
70 The VPN connection is active.
73 <tp:enumvalue suffix="FAILED" value="6">
75 The VPN connection failed.
78 <tp:enumvalue suffix="DISCONNECTED" value="7">
80 The VPN connection is disconnected.
84 <tp:enum name="NM_VPN_CONNECTION_STATE_REASON" type="u">
85 <tp:enumvalue suffix="UNKNOWN" value="0">
87 The reason for the VPN connection state change is unknown.
90 <tp:enumvalue suffix="NONE" value="1">
92 No reason was given for the VPN connection state change.
95 <tp:enumvalue suffix="USER_DISCONNECTED" value="2">
97 The VPN connection changed state because the user disconnected it.
100 <tp:enumvalue suffix="DEVICE_DISCONNECTED" value="3">
102 The VPN connection changed state because the device it was using was disconnected.
105 <tp:enumvalue suffix="SERVICE_STOPPED" value="4">
107 The service providing the VPN connection was stopped.
110 <tp:enumvalue suffix="IP_CONFIG_INVALID" value="5">
112 The IP config of the VPN connection was invalid.
115 <tp:enumvalue suffix="CONNECT_TIMEOUT" value="6">
117 The connection attempt to the VPN service timed out.
120 <tp:enumvalue suffix="SERVICE_START_TIMEOUT" value="7">
122 A timeout occurred while starting the service providing the VPN connection.
125 <tp:enumvalue suffix="SERVICE_START_FAILED" value="8">
127 Starting the service starting the service providing the VPN connection failed.
130 <tp:enumvalue suffix="NO_SECRETS" value="9">
132 Necessary secrets for the VPN connection were not provided.
135 <tp:enumvalue suffix="LOGIN_FAILED" value="10">
137 Authentication to the VPN server failed.
140 <tp:enumvalue suffix="CONNECTION_REMOVED" value="11">
142 The connection was deleted from settings.