dbus: use the annotations for documentation
[NetworkManager.git] / introspection / nm-device.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
4   <interface name="org.freedesktop.NetworkManager.Device">
5     <property name="Udi" type="s" access="read">
6       <annotation name="org.gtk.GDBus.DocString" value="
7         Operating-system specific transient device hardware identifier.  This
8         is an opaque string representing the underlying hardware for the device,
9         and shouldn't be used to keep track of individual devices.  For some
10         device types (Bluetooth, Modems) it is an identifier used by the
11         hardware service (ie bluez or ModemManager) to refer to that device,
12         and client programs use it get additional information from those
13         services which NM does not provide.  The Udi is not guaranteed to be
14         consistent across reboots or hotplugs of the hardware. If you're looking
15         for a way to uniquely track each device in your application, use the
16         object path.  If you're looking for a way to track a specific piece of
17         hardware across reboot or hotplug, use a MAC address or USB serial
18         number.
19       " />
20     </property>
21     <property name="Interface" type="s" access="read">
22       <annotation name="org.gtk.GDBus.DocString" value="
23         The name of the device's control (and often data) interface.
24       " />
25     </property>
26     <property name="IpInterface" type="s" access="read">
27       <annotation name="org.gtk.GDBus.DocString" value="
28         The name of the device's data interface when available.  This property
29         may not refer to the actual data interface until the device has
30         successfully established a data connection, indicated by the device's
31         State becoming ACTIVATED.
32       " />
33     </property>
34     <property name="Driver" type="s" access="read">
35       <annotation name="org.gtk.GDBus.DocString" value="
36         The driver handling the device.
37       " />
38     </property>
39     <property name="DriverVersion" type="s" access="read">
40       <annotation name="org.gtk.GDBus.DocString" value="
41         The version of the driver handling the device.
42       " />
43     </property>
44     <property name="FirmwareVersion" type="s" access="read">
45       <annotation name="org.gtk.GDBus.DocString" value="
46         The firmware version for the device.
47       " />
48     </property>
49     <property name="Capabilities" type="u" access="read" tp:type="NM_DEVICE_CAP">
50       <annotation name="org.gtk.GDBus.DocString" value="
51         Flags describing the capabilities of the device.
52       " />
53     </property>
54     <property name="Ip4Address" type="u" access="read">
55       <annotation name="org.gtk.GDBus.DocString" value="
56         DEPRECATED; use the 'Addresses' property of the 'Ip4Config' object instead.
57       " />
58     </property>
59     <property name="State" type="u" access="read" tp:type="NM_DEVICE_STATE">
60       <annotation name="org.gtk.GDBus.DocString" value="
61         The current state of the device.
62       " />
63     </property>
64     <property name="StateReason" type="(uu)" access="read" tp:type="NM_DEVICE_STATE_REASON_STRUCT">
65       <annotation name="org.gtk.GDBus.DocString" value="
66         The current state and reason for changing to that state.
67       " />
68     </property>
69     <property name="ActiveConnection" type="o" access="read">
70       <annotation name="org.gtk.GDBus.DocString" value="
71         Object path of an ActiveConnection object that &quot;owns&quot; this device during
72         activation.  The ActiveConnection object tracks the life-cycle of a
73         connection to a specific network and implements the
74         org.freedesktop.NetworkManager.Connection.Active D-Bus interface.
75       " />
76     </property>
77     <property name="Ip4Config" type="o" access="read">
78       <annotation name="org.gtk.GDBus.DocString" value="
79         Object path of the Ip4Config object describing the configuration of the device.  Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.
80       " />
81     </property>
82     <property name="Dhcp4Config" type="o" access="read">
83       <annotation name="org.gtk.GDBus.DocString" value="
84         Object path of the Dhcp4Config object describing the DHCP options returned by the DHCP server.  Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.
85       " />
86     </property>
87     <property name="Ip6Config" type="o" access="read">
88       <annotation name="org.gtk.GDBus.DocString" value="
89         Object path of the Ip6Config object describing the configuration of the device.  Only valid when the device is in the NM_DEVICE_STATE_ACTIVATED state.
90       " />
91     </property>
92     <property name="Dhcp6Config" type="o" access="read">
93       <annotation name="org.gtk.GDBus.DocString" value="
94         Object path of the Dhcp6Config object describing the DHCP options
95         returned by the DHCP server.  Only valid when the device is in the
96         NM_DEVICE_STATE_ACTIVATED state.
97       " />
98     </property>
99     <property name="Managed" type="b" access="readwrite">
100       <annotation name="org.gtk.GDBus.DocString" value="
101         Whether or not this device is managed by NetworkManager. Setting this
102         property has a similar effect to configuring the device as unmanaged
103         via the keyfile.unmanaged-devices setting in NetworkManager.conf.
104         Changes to this value are not persistent and lost after NetworkManager
105         restart.
106       " />
107     </property>
108     <property name="Autoconnect" type="b" access="readwrite">
109       <annotation name="org.gtk.GDBus.DocString" value="
110         If TRUE, indicates the device is allowed to autoconnect.  If FALSE,
111         manual intervention is required before the device will automatically
112         connect to a known network, such as activating a connection using the
113         device, or setting this property to TRUE.  This property cannot be
114         set to TRUE for default-unmanaged devices, since they never autoconnect.
115       " />
116     </property>
117     <property name="FirmwareMissing" type="b" access="read">
118       <annotation name="org.gtk.GDBus.DocString" value="
119         If TRUE, indicates the device is likely missing firmware necessary for
120         its operation.
121       " />
122     </property>
123     <property name="NmPluginMissing" type="b" access="read">
124       <annotation name="org.gtk.GDBus.DocString" value="
125         If TRUE, indicates the NetworkManager plugin for the device is likely
126         missing or misconfigured.
127       " />
128     </property>
129     <property name="DeviceType" type="u" access="read" tp:type="NM_DEVICE_TYPE">
130       <annotation name="org.gtk.GDBus.DocString" value="
131         The general type of the network device; ie Ethernet, WiFi, etc.
132       " />
133     </property>
134     <property name="AvailableConnections" type="ao" access="read">
135       <annotation name="org.gtk.GDBus.DocString" value="
136         An array of object paths of every configured connection that is currently 'available' through this device.
137       " />
138     </property>
139     <property name="PhysicalPortId" type="s" access="read">
140       <annotation name="org.gtk.GDBus.DocString" value="
141         If non-empty, an (opaque) indicator of the physical network
142         port associated with the device. This can be used to recognize
143         when two seemingly-separate hardware devices are actually just
144         different virtual interfaces to the same physical port.
145       " />
146     </property>
147     <property name="Mtu" type="u" access="read">
148       <annotation name="org.gtk.GDBus.DocString" value="
149         The device MTU (maximum transmission unit).
150       " />
151     </property>
152     <property name="Metered" type="u" access="read" tp:type="NM_METERED">
153       <annotation name="org.gtk.GDBus.DocString" value="
154         Whether the amount of traffic flowing through the device is
155         subject to limitations, for example set by service providers.
156       " />
157     </property>
158     <property name="LldpNeighbors" type="aa{sv}" access="read">
159       <annotation name="org.gtk.GDBus.DocString" value="
160         Array of LLDP neighbors; each element is a dictionary mapping
161         LLDP TLV names to variant boxed values.
162       " />
163     </property>
164     <property name="Real" type="b" access="read">
165       <annotation name="org.gtk.GDBus.DocString" value="
166         True if the device exists, or False for placeholder devices that
167         do not yet exist but could be automatically created by NetworkManager
168         if one of their AvailableConnections was activated.
169       " />
170     </property>
171
172     <method name="Reapply">
173       <arg name="connection" type="a{sa{sv}}" direction="in">
174         <annotation name="org.gtk.GDBus.DocString" value="
175           The optional connection settings that will be reapplied on the device. If empty, the
176           currently active settings-connection will be used. The connection cannot arbitrarly
177           differ from the current applied-connection otherwise the call will fail.
178           Only certain changes are supported, like adding or removing IP addresses.
179         " />
180       </arg>
181       <arg name="version_id" type="t" direction="in">
182         <annotation name="org.gtk.GDBus.DocString" value="
183           If non-zero, the current version id of the applied-connection must match.
184           The current version id can be retrieved via GetAppliedConnection.
185           This optional argument allows to catch concurrent modifications between
186           the GetAppliedConnection call and Reapply.
187         " />
188       </arg>
189       <arg name="flags" type="u" direction="in">
190         <annotation name="org.gtk.GDBus.DocString" value="
191           Flags which would modify the behavior of the Reapply call.
192           There are no flags defined currently and the users should use the value of 0.
193         " />
194       </arg>
195       <annotation name="org.gtk.GDBus.DocString" value="
196         Attempts to update the configuration of a device without deactivating it. NetworkManager
197         has the concept of connections, which are profiles that contain the configuration for
198         a networking device. Those connections are exposed via D-Bus as individual objects
199         that can be created, modified and deleted. When activating such a settings-connection
200         on a device, the settings-connection is cloned to become an applied-connection and used to
201         configure the device (see GetAppliedConnection). Subsequent modification of the
202         settings-connection don't propagate automatically to the device's applied-connection
203         (with exception of the firewall-zone and the metered property). For the changes to take
204         effect, you can either re-activate the settings-connection, or call Reapply.
205         The Reapply call allows you to directly update the applied-connection and reconfigure
206         the device.
207         Reapply can also be useful if the currently applied-connection is equal to the connection
208         that is about to be reapplied. This allows to reconfigure the device and revert external
209         changes like removing or adding an IP address (which NetworkManager doesn't revert
210         automatically because it is assumed that the user made these changes intentionally outside
211         of NetworkManager).
212         Reapply can make the applied-connection different from the settings-connection,
213         just like updating the settings-connection can make them different.
214       " />
215     </method>
216
217     <method name="GetAppliedConnection">
218       <arg name="flags" type="u" direction="in">
219         <annotation name="org.gtk.GDBus.DocString" value="
220           Flags which would modify the behavior of the GetAppliedConnection call.
221           There are no flags defined currently and the users should use the value of 0.
222         " />
223       </arg>
224       <arg name="connection" type="a{sa{sv}}" direction="out">
225         <annotation name="org.gtk.GDBus.DocString" value="
226             The effective connection settings that the connection has currently applied.
227         " />
228       </arg>
229       <arg name="version_id" type="t" direction="out">
230         <annotation name="org.gtk.GDBus.DocString" value="
231             The version-id of the currently applied connection. This can be specified during
232             Reapply to avoid races where you first fetch the applied connection, modify it
233             and try to reapply it. If the applied connection is modified in the meantime, the
234             version_id gets incremented and Reapply will fail.
235         " />
236       </arg>
237       <annotation name="org.gtk.GDBus.DocString" value="
238         Get the currently applied connection on the device. This is a snapshot of the last activated
239         connection on the device, that is the configuration that is currently applied on the device.
240         Usually this is the same as GetSettings of the referenced settings connection. However, it
241         can differ if the settings connection was subsequently modified or the applied connection was
242         modified by Reapply. The applied connection is set when activating a device or when calling
243         Reapply.
244       " />
245     </method>
246
247     <method name="Disconnect">
248       <annotation name="org.gtk.GDBus.DocString" value="
249         Disconnects a device and prevents the device from automatically activating further connections without user intervention.
250       " />
251     </method>
252
253     <method name="Delete">
254       <annotation name="org.gtk.GDBus.DocString" value="
255         Deletes a software device from NetworkManager and removes the interface from the system.
256         The method returns an error when called for a hardware device.
257       " />
258     </method>
259
260     <signal name="StateChanged">
261       <arg name="new_state" type="u" tp:type="NM_DEVICE_STATE">
262         <annotation name="org.gtk.GDBus.DocString" value="
263           The new state of the device.
264         " />
265       </arg>
266       <arg name="old_state" type="u" tp:type="NM_DEVICE_STATE">
267         <annotation name="org.gtk.GDBus.DocString" value="
268           The previous state of the device.
269         " />
270       </arg>
271       <arg name="reason" type="u" tp:type="NM_DEVICE_STATE_REASON">
272         <annotation name="org.gtk.GDBus.DocString" value="
273           A reason for the state transition.
274         " />
275       </arg>
276     </signal>
277
278     <tp:enum name="NM_DEVICE_STATE" type="u">
279       <tp:enumvalue suffix="UNKNOWN" value="0">
280         <annotation name="org.gtk.GDBus.DocString" value="
281           The device is in an unknown state.
282         " />
283       </tp:enumvalue>
284       <tp:enumvalue suffix="UNMANAGED" value="10">
285         <annotation name="org.gtk.GDBus.DocString" value="
286           The device is recognized but not managed by NetworkManager.
287         " />
288       </tp:enumvalue>
289       <tp:enumvalue suffix="UNAVAILABLE" value="20">
290         <annotation name="org.gtk.GDBus.DocString" value="
291           The device cannot be used (carrier off, rfkill, etc).
292         " />
293       </tp:enumvalue>
294       <tp:enumvalue suffix="DISCONNECTED" value="30">
295         <annotation name="org.gtk.GDBus.DocString" value="
296           The device is not connected.
297         " />
298       </tp:enumvalue>
299       <tp:enumvalue suffix="PREPARE" value="40">
300         <annotation name="org.gtk.GDBus.DocString" value="
301           The device is preparing to connect.
302         " />
303       </tp:enumvalue>
304       <tp:enumvalue suffix="CONFIG" value="50">
305         <annotation name="org.gtk.GDBus.DocString" value="
306           The device is being configured.
307         " />
308       </tp:enumvalue>
309       <tp:enumvalue suffix="NEED_AUTH" value="60">
310         <annotation name="org.gtk.GDBus.DocString" value="
311           The device is awaiting secrets necessary to continue connection.
312         " />
313       </tp:enumvalue>
314       <tp:enumvalue suffix="IP_CONFIG" value="70">
315         <annotation name="org.gtk.GDBus.DocString" value="
316           The IP settings of the device are being requested and configured.
317         " />
318       </tp:enumvalue>
319       <tp:enumvalue suffix="IP_CHECK" value="80">
320         <annotation name="org.gtk.GDBus.DocString" value="
321           The device's IP connectivity ability is being determined.
322         " />
323       </tp:enumvalue>
324       <tp:enumvalue suffix="SECONDARIES" value="90">
325         <annotation name="org.gtk.GDBus.DocString" value="
326           The device is waiting for secondary connections to be activated.
327         " />
328       </tp:enumvalue>
329       <tp:enumvalue suffix="ACTIVATED" value="100">
330         <annotation name="org.gtk.GDBus.DocString" value="
331           The device is active.
332         " />
333       </tp:enumvalue>
334       <tp:enumvalue suffix="DEACTIVATING" value="110">
335         <annotation name="org.gtk.GDBus.DocString" value="
336           The device's network connection is being torn down.
337         " />
338       </tp:enumvalue>
339       <tp:enumvalue suffix="FAILED" value="120">
340         <annotation name="org.gtk.GDBus.DocString" value="
341           The device is in a failure state following an attempt to activate it.
342         " />
343       </tp:enumvalue>
344     </tp:enum>
345
346     <tp:enum name="NM_DEVICE_TYPE" type="u">
347       <tp:enumvalue suffix="UNKNOWN" value="0">
348         <annotation name="org.gtk.GDBus.DocString" value="
349           The device type is unknown.
350         " />
351       </tp:enumvalue>
352       <tp:enumvalue suffix="ETHERNET" value="1">
353         <annotation name="org.gtk.GDBus.DocString" value="
354           The device is wired Ethernet device.
355         " />
356       </tp:enumvalue>
357       <tp:enumvalue suffix="WIFI" value="2">
358         <annotation name="org.gtk.GDBus.DocString" value="
359           The device is an 802.11 WiFi device.
360         " />
361       </tp:enumvalue>
362       <tp:enumvalue suffix="UNUSED1" value="3">
363         <annotation name="org.gtk.GDBus.DocString" value="Unused" />
364       </tp:enumvalue>
365       <tp:enumvalue suffix="UNUSED2" value="4">
366         <annotation name="org.gtk.GDBus.DocString" value="Unused" />
367       </tp:enumvalue>
368       <tp:enumvalue suffix="BT" value="5">
369         <annotation name="org.gtk.GDBus.DocString" value="
370           The device is Bluetooth device that provides PAN or DUN capabilities.
371         " />
372       </tp:enumvalue>
373       <tp:enumvalue suffix="OLPC_MESH" value="6">
374         <annotation name="org.gtk.GDBus.DocString" value="
375           The device is an OLPC mesh networking device.
376         " />
377       </tp:enumvalue>
378       <tp:enumvalue suffix="WIMAX" value="7">
379         <annotation name="org.gtk.GDBus.DocString" value="
380           The device is an 802.16e Mobile WiMAX device.
381         " />
382       </tp:enumvalue>
383       <tp:enumvalue suffix="MODEM" value="8">
384         <annotation name="org.gtk.GDBus.DocString" value="
385           The device is a modem supporting one or more of analog telephone,
386           CDMA/EVDO, GSM/UMTS/HSPA, or LTE standards to access a cellular or
387           wireline data network.
388         " />
389       </tp:enumvalue>
390       <tp:enumvalue suffix="INFINIBAND" value="9">
391         <annotation name="org.gtk.GDBus.DocString" value="
392           The device is an IP-capable InfiniBand interface.
393         " />
394       </tp:enumvalue>
395       <tp:enumvalue suffix="BOND" value="10">
396         <annotation name="org.gtk.GDBus.DocString" value="
397           The device is a bond master interface.
398         " />
399       </tp:enumvalue>
400       <tp:enumvalue suffix="VLAN" value="11">
401         <annotation name="org.gtk.GDBus.DocString" value="
402           The device is a VLAN interface.
403         " />
404       </tp:enumvalue>
405       <tp:enumvalue suffix="ADSL" value="12">
406         <annotation name="org.gtk.GDBus.DocString" value="
407           The device is an ADSL device supporting PPPoE and PPPoATM protocols.
408         " />
409       </tp:enumvalue>
410       <tp:enumvalue suffix="BRIDGE" value="13">
411         <annotation name="org.gtk.GDBus.DocString" value="
412           The device is a bridge interface.
413         " />
414       </tp:enumvalue>
415       <tp:enumvalue suffix="GENERIC" value="14">
416         <annotation name="org.gtk.GDBus.DocString" value="
417           The device is a generic interface type unrecognized by NetworkManager.
418         " />
419       </tp:enumvalue>
420       <tp:enumvalue suffix="TEAM" value="15">
421         <annotation name="org.gtk.GDBus.DocString" value="
422           The device is a team master interface.
423         " />
424       </tp:enumvalue>
425     </tp:enum>
426
427     <tp:flags name="NM_DEVICE_CAP" value-prefix="NM_DEVICE_CAP" type="u">
428       <tp:flag suffix="NONE" value="0x0">
429         <annotation name="org.gtk.GDBus.DocString" value="Null capability." />
430       </tp:flag>
431       <tp:flag suffix="NM_SUPPORTED" value="0x1">
432         <annotation name="org.gtk.GDBus.DocString" value="The device is supported by NetworkManager." />
433       </tp:flag>
434       <tp:flag suffix="CARRIER_DETECT" value="0x2">
435         <annotation name="org.gtk.GDBus.DocString" value="The device supports carrier detection." />
436       </tp:flag>
437     </tp:flags>
438
439     <tp:enum name="NM_DEVICE_STATE_REASON" type="u">
440       <tp:enumvalue suffix="UNKNOWN" value="0">
441         <annotation name="org.gtk.GDBus.DocString" value="
442           The reason for the device state change is unknown.
443         " />
444       </tp:enumvalue>
445       <tp:enumvalue suffix="NONE" value="1">
446         <annotation name="org.gtk.GDBus.DocString" value="
447           The state change is normal.
448         " />
449       </tp:enumvalue>
450       <tp:enumvalue suffix="NOW_MANAGED" value="2">
451         <annotation name="org.gtk.GDBus.DocString" value="
452           The device is now managed.
453         " />
454       </tp:enumvalue>
455       <tp:enumvalue suffix="NOW_UNMANAGED" value="3">
456         <annotation name="org.gtk.GDBus.DocString" value="
457           The device is no longer managed.
458         " />
459       </tp:enumvalue>
460       <tp:enumvalue suffix="CONFIG_FAILED" value="4">
461         <annotation name="org.gtk.GDBus.DocString" value="
462           The device could not be readied for configuration.
463         " />
464       </tp:enumvalue>
465       <tp:enumvalue suffix="CONFIG_UNAVAILABLE" value="5">
466         <annotation name="org.gtk.GDBus.DocString" value="
467           IP configuration could not be reserved (no available address, timeout, etc).
468         " />
469       </tp:enumvalue>
470       <tp:enumvalue suffix="CONFIG_EXPIRED" value="6">
471         <annotation name="org.gtk.GDBus.DocString" value="
472           The IP configuration is no longer valid.
473         " />
474       </tp:enumvalue>
475       <tp:enumvalue suffix="NO_SECRETS" value="7">
476         <annotation name="org.gtk.GDBus.DocString" value="
477           Secrets were required, but not provided.
478         " />
479       </tp:enumvalue>
480       <tp:enumvalue suffix="SUPPLICANT_DISCONNECT" value="8">
481         <annotation name="org.gtk.GDBus.DocString" value="
482           The 802.1X supplicant disconnected from the access point or authentication server.
483         " />
484       </tp:enumvalue>
485       <tp:enumvalue suffix="SUPPLICANT_CONFIG_FAILED" value="9">
486         <annotation name="org.gtk.GDBus.DocString" value="
487           Configuration of the 802.1X supplicant failed.
488         " />
489       </tp:enumvalue>
490       <tp:enumvalue suffix="SUPPLICANT_FAILED" value="10">
491         <annotation name="org.gtk.GDBus.DocString" value="
492           The 802.1X supplicant quit or failed unexpectedly.
493         " />
494       </tp:enumvalue>
495       <tp:enumvalue suffix="SUPPLICANT_TIMEOUT" value="11">
496         <annotation name="org.gtk.GDBus.DocString" value="
497           The 802.1X supplicant took too long to authenticate.
498         " />
499       </tp:enumvalue>
500       <tp:enumvalue suffix="PPP_START_FAILED" value="12">
501         <annotation name="org.gtk.GDBus.DocString" value="
502           The PPP service failed to start within the allowed time.
503         " />
504       </tp:enumvalue>
505       <tp:enumvalue suffix="PPP_DISCONNECT" value="13">
506         <annotation name="org.gtk.GDBus.DocString" value="
507           The PPP service disconnected unexpectedly.
508         " />
509       </tp:enumvalue>
510       <tp:enumvalue suffix="PPP_FAILED" value="14">
511         <annotation name="org.gtk.GDBus.DocString" value="
512           The PPP service quit or failed unexpectedly.
513         " />
514       </tp:enumvalue>
515       <tp:enumvalue suffix="DHCP_START_FAILED" value="15">
516         <annotation name="org.gtk.GDBus.DocString" value="
517           The DHCP service failed to start within the allowed time.
518         " />
519       </tp:enumvalue>
520       <tp:enumvalue suffix="DHCP_ERROR" value="16">
521         <annotation name="org.gtk.GDBus.DocString" value="
522           The DHCP service reported an unexpected error.
523         " />
524       </tp:enumvalue>
525       <tp:enumvalue suffix="DHCP_FAILED" value="17">
526         <annotation name="org.gtk.GDBus.DocString" value="
527           The DHCP service quit or failed unexpectedly.
528         " />
529       </tp:enumvalue>
530       <tp:enumvalue suffix="SHARED_START_FAILED" value="18">
531         <annotation name="org.gtk.GDBus.DocString" value="
532           The shared connection service failed to start.
533         " />
534       </tp:enumvalue>
535       <tp:enumvalue suffix="SHARED_FAILED" value="19">
536         <annotation name="org.gtk.GDBus.DocString" value="
537           The shared connection service quit or failed unexpectedly.
538         " />
539       </tp:enumvalue>
540       <tp:enumvalue suffix="AUTOIP_START_FAILED" value="20">
541         <annotation name="org.gtk.GDBus.DocString" value="
542           The AutoIP service failed to start.
543         " />
544       </tp:enumvalue>
545       <tp:enumvalue suffix="AUTOIP_ERROR" value="21">
546         <annotation name="org.gtk.GDBus.DocString" value="
547           The AutoIP service reported an unexpected error.
548         " />
549       </tp:enumvalue>
550       <tp:enumvalue suffix="AUTOIP_FAILED" value="22">
551         <annotation name="org.gtk.GDBus.DocString" value="
552           The AutoIP service quit or failed unexpectedly.
553         " />
554       </tp:enumvalue>
555       <tp:enumvalue suffix="MODEM_BUSY" value="23">
556         <annotation name="org.gtk.GDBus.DocString" value="
557           Dialing failed because the line was busy.
558         " />
559       </tp:enumvalue>
560       <tp:enumvalue suffix="MODEM_NO_DIAL_TONE" value="24">
561         <annotation name="org.gtk.GDBus.DocString" value="
562           Dialing failed because there was no dial tone.
563         " />
564       </tp:enumvalue>
565       <tp:enumvalue suffix="MODEM_NO_CARRIER" value="25">
566         <annotation name="org.gtk.GDBus.DocString" value="
567           Dialing failed because there was carrier.
568         " />
569       </tp:enumvalue>
570       <tp:enumvalue suffix="MODEM_DIAL_TIMEOUT" value="26">
571         <annotation name="org.gtk.GDBus.DocString" value="
572           Dialing timed out.
573         " />
574       </tp:enumvalue>
575       <tp:enumvalue suffix="MODEM_DIAL_FAILED" value="27">
576         <annotation name="org.gtk.GDBus.DocString" value="
577           Dialing failed.
578         " />
579       </tp:enumvalue>
580       <tp:enumvalue suffix="MODEM_INIT_FAILED" value="28">
581         <annotation name="org.gtk.GDBus.DocString" value="
582           Modem initialization failed.
583         " />
584       </tp:enumvalue>
585       <tp:enumvalue suffix="GSM_APN_FAILED" value="29">
586         <annotation name="org.gtk.GDBus.DocString" value="
587           Failed to select the specified GSM APN.
588         " />
589       </tp:enumvalue>
590       <tp:enumvalue suffix="GSM_REGISTRATION_NOT_SEARCHING" value="30">
591         <annotation name="org.gtk.GDBus.DocString" value="
592           Not searching for networks.
593         " />
594       </tp:enumvalue>
595       <tp:enumvalue suffix="GSM_REGISTRATION_DENIED" value="31">
596         <annotation name="org.gtk.GDBus.DocString" value="
597           Network registration was denied.
598         " />
599       </tp:enumvalue>
600       <tp:enumvalue suffix="GSM_REGISTRATION_TIMEOUT" value="32">
601         <annotation name="org.gtk.GDBus.DocString" value="
602           Network registration timed out.
603         " />
604       </tp:enumvalue>
605       <tp:enumvalue suffix="GSM_REGISTRATION_FAILED" value="33">
606         <annotation name="org.gtk.GDBus.DocString" value="
607           Failed to register with the requested GSM network.
608         " />
609       </tp:enumvalue>
610       <tp:enumvalue suffix="GSM_PIN_CHECK_FAILED" value="34">
611         <annotation name="org.gtk.GDBus.DocString" value="
612           PIN check failed.
613         " />
614       </tp:enumvalue>
615       <tp:enumvalue suffix="FIRMWARE_MISSING" value="35">
616         <annotation name="org.gtk.GDBus.DocString" value="
617           Necessary firmware for the device may be missing.
618         " />
619       </tp:enumvalue>
620       <tp:enumvalue suffix="REMOVED" value="36">
621         <annotation name="org.gtk.GDBus.DocString" value="
622           The device was removed.
623         " />
624       </tp:enumvalue>
625       <tp:enumvalue suffix="SLEEPING" value="37">
626         <annotation name="org.gtk.GDBus.DocString" value="
627           NetworkManager went to sleep.
628         " />
629       </tp:enumvalue>
630       <tp:enumvalue suffix="CONNECTION_REMOVED" value="38">
631         <annotation name="org.gtk.GDBus.DocString" value="
632           The device's active connection was removed or disappeared.
633         " />
634       </tp:enumvalue>
635       <tp:enumvalue suffix="USER_REQUESTED" value="39">
636         <annotation name="org.gtk.GDBus.DocString" value="
637           A user or client requested the disconnection.
638         " />
639       </tp:enumvalue>
640       <tp:enumvalue suffix="CARRIER" value="40">
641         <annotation name="org.gtk.GDBus.DocString" value="
642           The device's carrier/link changed.
643         " />
644       </tp:enumvalue>
645       <tp:enumvalue suffix="CONNECTION_ASSUMED" value="41">
646         <annotation name="org.gtk.GDBus.DocString" value="
647           The device's existing connection was assumed.
648         " />
649       </tp:enumvalue>
650       <tp:enumvalue suffix="SUPPLICANT_AVAILABLE" value="42">
651         <annotation name="org.gtk.GDBus.DocString" value="
652           The 802.1x supplicant is now available.
653         " />
654       </tp:enumvalue>
655       <tp:enumvalue suffix="MODEM_NOT_FOUND" value="43">
656         <annotation name="org.gtk.GDBus.DocString" value="
657           The modem could not be found.
658         " />
659       </tp:enumvalue>
660       <tp:enumvalue suffix="BT_FAILED" value="44">
661         <annotation name="org.gtk.GDBus.DocString" value="
662           The Bluetooth connection timed out or failed.
663         " />
664       </tp:enumvalue>
665       <tp:enumvalue suffix="GSM_SIM_NOT_INSERTED" value="45">
666         <annotation name="org.gtk.GDBus.DocString" value="
667           GSM Modem's SIM Card not inserted.
668         " />
669       </tp:enumvalue>
670       <tp:enumvalue suffix="GSM_SIM_PIN_REQUIRED" value="46">
671         <annotation name="org.gtk.GDBus.DocString" value="
672           GSM Modem's SIM Pin required.
673         " />
674       </tp:enumvalue>
675       <tp:enumvalue suffix="GSM_SIM_PUK_REQUIRED" value="47">
676         <annotation name="org.gtk.GDBus.DocString" value="
677           GSM Modem's SIM Puk required.
678         " />
679       </tp:enumvalue>
680       <tp:enumvalue suffix="GSM_SIM_WRONG" value="48">
681         <annotation name="org.gtk.GDBus.DocString" value="
682           GSM Modem's SIM wrong
683         " />
684       </tp:enumvalue>
685       <tp:enumvalue suffix="INFINIBAND_MODE" value="49">
686         <annotation name="org.gtk.GDBus.DocString" value="
687           InfiniBand device does not support connected mode.
688         " />
689       </tp:enumvalue>
690       <tp:enumvalue suffix="DEPENDENCY_FAILED" value="50">
691         <annotation name="org.gtk.GDBus.DocString" value="
692           A dependency of the connection failed.
693         " />
694       </tp:enumvalue>
695       <tp:enumvalue suffix="BR2684_FAILED" value="51">
696         <annotation name="org.gtk.GDBus.DocString" value="
697           Problem with the RFC 2684 Ethernet over ADSL bridge.
698         " />
699       </tp:enumvalue>
700       <tp:enumvalue suffix="MODEM_MANAGER_UNAVAILABLE" value="52">
701         <annotation name="org.gtk.GDBus.DocString" value="
702           ModemManager was not running or quit unexpectedly.
703         " />
704       </tp:enumvalue>
705       <tp:enumvalue suffix="SSID_NOT_FOUND" value="53">
706         <annotation name="org.gtk.GDBus.DocString" value="
707           The 802.11 Wi-Fi network could not be found.
708         " />
709       </tp:enumvalue>
710       <tp:enumvalue suffix="SECONDARY_CONNECTION_FAILED" value="54">
711         <annotation name="org.gtk.GDBus.DocString" value="
712           A secondary connection of the base connection failed.
713         " />
714       </tp:enumvalue>
715       <tp:enumvalue suffix="DCB_FCOE_FAILED" value="55">
716         <annotation name="org.gtk.GDBus.DocString" value="
717           DCB or FCoE setup failed.
718         " />
719       </tp:enumvalue>
720       <tp:enumvalue suffix="TEAMD_CONTROL_FAILED" value="56">
721         <annotation name="org.gtk.GDBus.DocString" value="
722           teamd control failed.
723         " />
724       </tp:enumvalue>
725       <tp:enumvalue suffix="MODEM_FAILED" value="57">
726         <annotation name="org.gtk.GDBus.DocString" value="
727           Modem failed or no longer available.
728         " />
729       </tp:enumvalue>
730       <tp:enumvalue suffix="MODEM_AVAILABLE" value="58">
731         <annotation name="org.gtk.GDBus.DocString" value="
732           Modem now ready and available.
733         " />
734       </tp:enumvalue>
735       <tp:enumvalue suffix="SIM_PIN_INCORRECT" value="59">
736         <annotation name="org.gtk.GDBus.DocString" value="
737           The SIM PIN was incorrect.
738         " />
739       </tp:enumvalue>
740       <tp:enumvalue suffix="NEW_ACTIVATION" value="60">
741         <annotation name="org.gtk.GDBus.DocString" value="
742           A new connection activation was enqueued.
743         " />
744       </tp:enumvalue>
745       <tp:enumvalue suffix="PARENT_CHANGED" value="61">
746         <annotation name="org.gtk.GDBus.DocString" value="
747           The device's parent changed.
748         " />
749       </tp:enumvalue>
750       <tp:enumvalue suffix="PARENT_MANAGED_CHANGED" value="62">
751         <annotation name="org.gtk.GDBus.DocString" value="
752           The device parent's management changed.
753         " />
754       </tp:enumvalue>
755     </tp:enum>
756
757     <tp:enum name="NM_METERED" type="u">
758       <tp:enumvalue suffix="UNKNOWN" value="0">
759         <annotation name="org.gtk.GDBus.DocString" value="
760           The device metered status is unknown.
761         " />
762       </tp:enumvalue>
763       <tp:enumvalue suffix="YES" value="1">
764         <annotation name="org.gtk.GDBus.DocString" value="
765           The device is metered and the value was statically set.
766         " />
767       </tp:enumvalue>
768       <tp:enumvalue suffix="NO" value="2">
769         <annotation name="org.gtk.GDBus.DocString" value="
770           The device is not metered and the value was statically set.
771         " />
772       </tp:enumvalue>
773       <tp:enumvalue suffix="GUESS_YES" value="3">
774         <annotation name="org.gtk.GDBus.DocString" value="
775           The device is metered and the value was guessed.
776         " />
777       </tp:enumvalue>
778       <tp:enumvalue suffix="GUESS_NO" value="4">
779         <annotation name="org.gtk.GDBus.DocString" value="
780           The device is not metered and the value was guessed.
781         " />
782       </tp:enumvalue>
783     </tp:enum>
784
785     <tp:struct name="NM_DEVICE_STATE_REASON_STRUCT">
786       <tp:member type="u" name="state" tp:type="NM_DEVICE_STATE">
787         <annotation name="org.gtk.GDBus.DocString" value="
788           The device state.
789         " />
790       </tp:member>
791       <tp:member type="u" name="reason" tp:type="NM_DEVICE_STATE_REASON">
792         <annotation name="org.gtk.GDBus.DocString" value="
793           The reason for originally changing to the device state.
794         " />
795       </tp:member>
796     </tp:struct>
797   </interface>
798 </node>