f1033c73f2e0cd3d41e222bee3feed9780609cc0
[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       <tp:docstring>
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       </tp:docstring>
20     </property>
21     <property name="Interface" type="s" access="read">
22       <tp:docstring>
23         The name of the device's control (and often data) interface.
24       </tp:docstring>
25     </property>
26     <property name="IpInterface" type="s" access="read">
27       <tp:docstring>
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       </tp:docstring>
33     </property>
34     <property name="Driver" type="s" access="read">
35       <tp:docstring>
36         The driver handling the device.
37       </tp:docstring>
38     </property>
39     <property name="DriverVersion" type="s" access="read">
40       <tp:docstring>
41         The version of the driver handling the device.
42       </tp:docstring>
43     </property>
44     <property name="FirmwareVersion" type="s" access="read">
45       <tp:docstring>
46         The firmware version for the device.
47       </tp:docstring>
48     </property>
49     <property name="Capabilities" type="u" access="read" tp:type="NM_DEVICE_CAP">
50       <tp:docstring>
51         Flags describing the capabilities of the device.
52       </tp:docstring>
53     </property>
54     <property name="Ip4Address" type="u" access="read">
55       <tp:docstring>
56         DEPRECATED; use the 'Addresses' property of the 'Ip4Config' object instead.
57       </tp:docstring>
58     </property>
59     <property name="State" type="u" access="read" tp:type="NM_DEVICE_STATE">
60       <tp:docstring>
61         The current state of the device.
62       </tp:docstring>
63     </property>
64     <property name="StateReason" type="(uu)" access="read" tp:type="NM_DEVICE_STATE_REASON_STRUCT">
65       <tp:docstring>
66         The current state and reason for changing to that state.
67       </tp:docstring>
68     </property>
69     <property name="ActiveConnection" type="o" access="read">
70       <tp:docstring>
71         Object path of an ActiveConnection object that "owns" 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       </tp:docstring>
76     </property>
77     <property name="Ip4Config" type="o" access="read">
78       <tp:docstring>
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       </tp:docstring>
81     </property>
82     <property name="Dhcp4Config" type="o" access="read">
83       <tp:docstring>
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       </tp:docstring>
86     </property>
87     <property name="Ip6Config" type="o" access="read">
88       <tp:docstring>
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       </tp:docstring>
91     </property>
92     <property name="Dhcp6Config" type="o" access="read">
93       <tp:docstring>
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       </tp:docstring>
98     </property>
99     <property name="Managed" type="b" access="readwrite">
100       <tp:docstring>
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       </tp:docstring>
107     </property>
108     <property name="Autoconnect" type="b" access="readwrite">
109       <tp:docstring>
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       </tp:docstring>
116     </property>
117     <property name="FirmwareMissing" type="b" access="read">
118       <tp:docstring>
119         If TRUE, indicates the device is likely missing firmware necessary for
120         its operation.
121       </tp:docstring>
122     </property>
123     <property name="NmPluginMissing" type="b" access="read">
124       <tp:docstring>
125         If TRUE, indicates the NetworkManager plugin for the device is likely
126         missing or misconfigured.
127       </tp:docstring>
128     </property>
129     <property name="DeviceType" type="u" access="read" tp:type="NM_DEVICE_TYPE">
130       <tp:docstring>
131         The general type of the network device; ie Ethernet, WiFi, etc.
132       </tp:docstring>
133     </property>
134     <property name="AvailableConnections" type="ao" access="read">
135       <tp:docstring>
136         An array of object paths of every configured connection that is currently 'available' through this device.
137       </tp:docstring>
138     </property>
139     <property name="PhysicalPortId" type="s" access="read">
140       <tp:docstring>
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       </tp:docstring>
146     </property>
147     <property name="Mtu" type="u" access="read">
148       <tp:docstring>
149         The device MTU (maximum transmission unit).
150       </tp:docstring>
151     </property>
152     <property name="Metered" type="u" access="read" tp:type="NM_METERED">
153       <tp:docstring>
154         Whether the amount of traffic flowing through the device is
155         subject to limitations, for example set by service providers.
156       </tp:docstring>
157     </property>
158     <property name="LldpNeighbors" type="aa{sv}" access="read">
159       <tp:docstring>
160         Array of LLDP neighbors; each element is a dictionary mapping
161         LLDP TLV names to variant boxed values.
162       </tp:docstring>
163     </property>
164     <property name="Real" type="b" access="read">
165       <tp:docstring>
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       </tp:docstring>
170     </property>
171
172     <method name="Reapply">
173       <arg name="connection" type="a{sa{sv}}" direction="in">
174         <tp:docstring>
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         </tp:docstring>
180       </arg>
181       <arg name="version_id" type="t" direction="in">
182         <tp:docstring>
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         </tp:docstring>
188       </arg>
189       <arg name="flags" type="u" direction="in">
190         <tp:docstring>
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         </tp:docstring>
194       </arg>
195       <tp:docstring>
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       </tp:docstring>
215     </method>
216
217     <method name="GetAppliedConnection">
218       <arg name="flags" type="u" direction="in">
219         <tp:docstring>
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         </tp:docstring>
223       </arg>
224       <arg name="connection" type="a{sa{sv}}" direction="out">
225         <tp:docstring>
226             The effective connection settings that the connection has currently applied.
227         </tp:docstring>
228       </arg>
229       <arg name="version_id" type="t" direction="out">
230         <tp:docstring>
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         </tp:docstring>
236       </arg>
237       <tp:docstring>
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       </tp:docstring>
245     </method>
246
247     <method name="Disconnect">
248       <tp:docstring>
249         Disconnects a device and prevents the device from automatically activating further connections without user intervention.
250       </tp:docstring>
251     </method>
252
253     <method name="Delete">
254       <tp:docstring>
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       </tp:docstring>
258     </method>
259
260     <signal name="StateChanged">
261       <arg name="new_state" type="u" tp:type="NM_DEVICE_STATE">
262         <tp:docstring>
263           The new state of the device.
264         </tp:docstring>
265       </arg>
266       <arg name="old_state" type="u" tp:type="NM_DEVICE_STATE">
267         <tp:docstring>
268           The previous state of the device.
269         </tp:docstring>
270       </arg>
271       <arg name="reason" type="u" tp:type="NM_DEVICE_STATE_REASON">
272         <tp:docstring>
273           A reason for the state transition.
274         </tp:docstring>
275       </arg>
276     </signal>
277
278     <tp:enum name="NM_DEVICE_STATE" type="u">
279       <tp:enumvalue suffix="UNKNOWN" value="0">
280         <tp:docstring>
281           The device is in an unknown state.
282         </tp:docstring>
283       </tp:enumvalue>
284       <tp:enumvalue suffix="UNMANAGED" value="10">
285         <tp:docstring>
286           The device is recognized but not managed by NetworkManager.
287         </tp:docstring>
288       </tp:enumvalue>
289       <tp:enumvalue suffix="UNAVAILABLE" value="20">
290         <tp:docstring>
291           The device cannot be used (carrier off, rfkill, etc).
292         </tp:docstring>
293       </tp:enumvalue>
294       <tp:enumvalue suffix="DISCONNECTED" value="30">
295         <tp:docstring>
296           The device is not connected.
297         </tp:docstring>
298       </tp:enumvalue>
299       <tp:enumvalue suffix="PREPARE" value="40">
300         <tp:docstring>
301           The device is preparing to connect.
302         </tp:docstring>
303       </tp:enumvalue>
304       <tp:enumvalue suffix="CONFIG" value="50">
305         <tp:docstring>
306           The device is being configured.
307         </tp:docstring>
308       </tp:enumvalue>
309       <tp:enumvalue suffix="NEED_AUTH" value="60">
310         <tp:docstring>
311           The device is awaiting secrets necessary to continue connection.
312         </tp:docstring>
313       </tp:enumvalue>
314       <tp:enumvalue suffix="IP_CONFIG" value="70">
315         <tp:docstring>
316           The IP settings of the device are being requested and configured.
317         </tp:docstring>
318       </tp:enumvalue>
319       <tp:enumvalue suffix="IP_CHECK" value="80">
320         <tp:docstring>
321           The device's IP connectivity ability is being determined.
322         </tp:docstring>
323       </tp:enumvalue>
324       <tp:enumvalue suffix="SECONDARIES" value="90">
325         <tp:docstring>
326           The device is waiting for secondary connections to be activated.
327         </tp:docstring>
328       </tp:enumvalue>
329       <tp:enumvalue suffix="ACTIVATED" value="100">
330         <tp:docstring>
331           The device is active.
332         </tp:docstring>
333       </tp:enumvalue>
334       <tp:enumvalue suffix="DEACTIVATING" value="110">
335         <tp:docstring>
336           The device's network connection is being torn down.
337         </tp:docstring>
338       </tp:enumvalue>
339       <tp:enumvalue suffix="FAILED" value="120">
340         <tp:docstring>
341           The device is in a failure state following an attempt to activate it.
342         </tp:docstring>
343       </tp:enumvalue>
344     </tp:enum>
345
346     <tp:enum name="NM_DEVICE_TYPE" type="u">
347       <tp:enumvalue suffix="UNKNOWN" value="0">
348         <tp:docstring>
349           The device type is unknown.
350         </tp:docstring>
351       </tp:enumvalue>
352       <tp:enumvalue suffix="ETHERNET" value="1">
353         <tp:docstring>
354           The device is wired Ethernet device.
355         </tp:docstring>
356       </tp:enumvalue>
357       <tp:enumvalue suffix="WIFI" value="2">
358         <tp:docstring>
359           The device is an 802.11 WiFi device.
360         </tp:docstring>
361       </tp:enumvalue>
362       <tp:enumvalue suffix="UNUSED1" value="3">
363         <tp:docstring>Unused</tp:docstring>
364       </tp:enumvalue>
365       <tp:enumvalue suffix="UNUSED2" value="4">
366         <tp:docstring>Unused</tp:docstring>
367       </tp:enumvalue>
368       <tp:enumvalue suffix="BT" value="5">
369         <tp:docstring>
370           The device is Bluetooth device that provides PAN or DUN capabilities.
371         </tp:docstring>
372       </tp:enumvalue>
373       <tp:enumvalue suffix="OLPC_MESH" value="6">
374         <tp:docstring>
375           The device is an OLPC mesh networking device.
376         </tp:docstring>
377       </tp:enumvalue>
378       <tp:enumvalue suffix="WIMAX" value="7">
379         <tp:docstring>
380           The device is an 802.16e Mobile WiMAX device.
381         </tp:docstring>
382       </tp:enumvalue>
383       <tp:enumvalue suffix="MODEM" value="8">
384         <tp:docstring>
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         </tp:docstring>
389       </tp:enumvalue>
390       <tp:enumvalue suffix="INFINIBAND" value="9">
391         <tp:docstring>
392           The device is an IP-capable InfiniBand interface.
393         </tp:docstring>
394       </tp:enumvalue>
395       <tp:enumvalue suffix="BOND" value="10">
396         <tp:docstring>
397           The device is a bond master interface.
398         </tp:docstring>
399       </tp:enumvalue>
400       <tp:enumvalue suffix="VLAN" value="11">
401         <tp:docstring>
402           The device is a VLAN interface.
403         </tp:docstring>
404       </tp:enumvalue>
405       <tp:enumvalue suffix="ADSL" value="12">
406         <tp:docstring>
407           The device is an ADSL device supporting PPPoE and PPPoATM protocols.
408         </tp:docstring>
409       </tp:enumvalue>
410       <tp:enumvalue suffix="BRIDGE" value="13">
411         <tp:docstring>
412           The device is a bridge interface.
413         </tp:docstring>
414       </tp:enumvalue>
415       <tp:enumvalue suffix="GENERIC" value="14">
416         <tp:docstring>
417           The device is a generic interface type unrecognized by NetworkManager.
418         </tp:docstring>
419       </tp:enumvalue>
420       <tp:enumvalue suffix="TEAM" value="15">
421         <tp:docstring>
422           The device is a team master interface.
423         </tp:docstring>
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         <tp:docstring>Null capability.</tp:docstring>
430       </tp:flag>
431       <tp:flag suffix="NM_SUPPORTED" value="0x1">
432         <tp:docstring>The device is supported by NetworkManager.</tp:docstring>
433       </tp:flag>
434       <tp:flag suffix="CARRIER_DETECT" value="0x2">
435         <tp:docstring>The device supports carrier detection.</tp:docstring>
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         <tp:docstring>
442           The reason for the device state change is unknown.
443         </tp:docstring>
444       </tp:enumvalue>
445       <tp:enumvalue suffix="NONE" value="1">
446         <tp:docstring>
447           The state change is normal.
448         </tp:docstring>
449       </tp:enumvalue>
450       <tp:enumvalue suffix="NOW_MANAGED" value="2">
451         <tp:docstring>
452           The device is now managed.
453         </tp:docstring>
454       </tp:enumvalue>
455       <tp:enumvalue suffix="NOW_UNMANAGED" value="3">
456         <tp:docstring>
457           The device is no longer managed.
458         </tp:docstring>
459       </tp:enumvalue>
460       <tp:enumvalue suffix="CONFIG_FAILED" value="4">
461         <tp:docstring>
462           The device could not be readied for configuration.
463         </tp:docstring>
464       </tp:enumvalue>
465       <tp:enumvalue suffix="CONFIG_UNAVAILABLE" value="5">
466         <tp:docstring>
467           IP configuration could not be reserved (no available address, timeout, etc).
468         </tp:docstring>
469       </tp:enumvalue>
470       <tp:enumvalue suffix="CONFIG_EXPIRED" value="6">
471         <tp:docstring>
472           The IP configuration is no longer valid.
473         </tp:docstring>
474       </tp:enumvalue>
475       <tp:enumvalue suffix="NO_SECRETS" value="7">
476         <tp:docstring>
477           Secrets were required, but not provided.
478         </tp:docstring>
479       </tp:enumvalue>
480       <tp:enumvalue suffix="SUPPLICANT_DISCONNECT" value="8">
481         <tp:docstring>
482           The 802.1X supplicant disconnected from the access point or authentication server.
483         </tp:docstring>
484       </tp:enumvalue>
485       <tp:enumvalue suffix="SUPPLICANT_CONFIG_FAILED" value="9">
486         <tp:docstring>
487           Configuration of the 802.1X supplicant failed.
488         </tp:docstring>
489       </tp:enumvalue>
490       <tp:enumvalue suffix="SUPPLICANT_FAILED" value="10">
491         <tp:docstring>
492           The 802.1X supplicant quit or failed unexpectedly.
493         </tp:docstring>
494       </tp:enumvalue>
495       <tp:enumvalue suffix="SUPPLICANT_TIMEOUT" value="11">
496         <tp:docstring>
497           The 802.1X supplicant took too long to authenticate.
498         </tp:docstring>
499       </tp:enumvalue>
500       <tp:enumvalue suffix="PPP_START_FAILED" value="12">
501         <tp:docstring>
502           The PPP service failed to start within the allowed time.
503         </tp:docstring>
504       </tp:enumvalue>
505       <tp:enumvalue suffix="PPP_DISCONNECT" value="13">
506         <tp:docstring>
507           The PPP service disconnected unexpectedly.
508         </tp:docstring>
509       </tp:enumvalue>
510       <tp:enumvalue suffix="PPP_FAILED" value="14">
511         <tp:docstring>
512           The PPP service quit or failed unexpectedly.
513         </tp:docstring>
514       </tp:enumvalue>
515       <tp:enumvalue suffix="DHCP_START_FAILED" value="15">
516         <tp:docstring>
517           The DHCP service failed to start within the allowed time.
518         </tp:docstring>
519       </tp:enumvalue>
520       <tp:enumvalue suffix="DHCP_ERROR" value="16">
521         <tp:docstring>
522           The DHCP service reported an unexpected error.
523         </tp:docstring>
524       </tp:enumvalue>
525       <tp:enumvalue suffix="DHCP_FAILED" value="17">
526         <tp:docstring>
527           The DHCP service quit or failed unexpectedly.
528         </tp:docstring>
529       </tp:enumvalue>
530       <tp:enumvalue suffix="SHARED_START_FAILED" value="18">
531         <tp:docstring>
532           The shared connection service failed to start.
533         </tp:docstring>
534       </tp:enumvalue>
535       <tp:enumvalue suffix="SHARED_FAILED" value="19">
536         <tp:docstring>
537           The shared connection service quit or failed unexpectedly.
538         </tp:docstring>
539       </tp:enumvalue>
540       <tp:enumvalue suffix="AUTOIP_START_FAILED" value="20">
541         <tp:docstring>
542           The AutoIP service failed to start.
543         </tp:docstring>
544       </tp:enumvalue>
545       <tp:enumvalue suffix="AUTOIP_ERROR" value="21">
546         <tp:docstring>
547           The AutoIP service reported an unexpected error.
548         </tp:docstring>
549       </tp:enumvalue>
550       <tp:enumvalue suffix="AUTOIP_FAILED" value="22">
551         <tp:docstring>
552           The AutoIP service quit or failed unexpectedly.
553         </tp:docstring>
554       </tp:enumvalue>
555       <tp:enumvalue suffix="MODEM_BUSY" value="23">
556         <tp:docstring>
557           Dialing failed because the line was busy.
558         </tp:docstring>
559       </tp:enumvalue>
560       <tp:enumvalue suffix="MODEM_NO_DIAL_TONE" value="24">
561         <tp:docstring>
562           Dialing failed because there was no dial tone.
563         </tp:docstring>
564       </tp:enumvalue>
565       <tp:enumvalue suffix="MODEM_NO_CARRIER" value="25">
566         <tp:docstring>
567           Dialing failed because there was carrier.
568         </tp:docstring>
569       </tp:enumvalue>
570       <tp:enumvalue suffix="MODEM_DIAL_TIMEOUT" value="26">
571         <tp:docstring>
572           Dialing timed out.
573         </tp:docstring>
574       </tp:enumvalue>
575       <tp:enumvalue suffix="MODEM_DIAL_FAILED" value="27">
576         <tp:docstring>
577           Dialing failed.
578         </tp:docstring>
579       </tp:enumvalue>
580       <tp:enumvalue suffix="MODEM_INIT_FAILED" value="28">
581         <tp:docstring>
582           Modem initialization failed.
583         </tp:docstring>
584       </tp:enumvalue>
585       <tp:enumvalue suffix="GSM_APN_FAILED" value="29">
586         <tp:docstring>
587           Failed to select the specified GSM APN.
588         </tp:docstring>
589       </tp:enumvalue>
590       <tp:enumvalue suffix="GSM_REGISTRATION_NOT_SEARCHING" value="30">
591         <tp:docstring>
592           Not searching for networks.
593         </tp:docstring>
594       </tp:enumvalue>
595       <tp:enumvalue suffix="GSM_REGISTRATION_DENIED" value="31">
596         <tp:docstring>
597           Network registration was denied.
598         </tp:docstring>
599       </tp:enumvalue>
600       <tp:enumvalue suffix="GSM_REGISTRATION_TIMEOUT" value="32">
601         <tp:docstring>
602           Network registration timed out.
603         </tp:docstring>
604       </tp:enumvalue>
605       <tp:enumvalue suffix="GSM_REGISTRATION_FAILED" value="33">
606         <tp:docstring>
607           Failed to register with the requested GSM network.
608         </tp:docstring>
609       </tp:enumvalue>
610       <tp:enumvalue suffix="GSM_PIN_CHECK_FAILED" value="34">
611         <tp:docstring>
612           PIN check failed.
613         </tp:docstring>
614       </tp:enumvalue>
615       <tp:enumvalue suffix="FIRMWARE_MISSING" value="35">
616         <tp:docstring>
617           Necessary firmware for the device may be missing.
618         </tp:docstring>
619       </tp:enumvalue>
620       <tp:enumvalue suffix="REMOVED" value="36">
621         <tp:docstring>
622           The device was removed.
623         </tp:docstring>
624       </tp:enumvalue>
625       <tp:enumvalue suffix="SLEEPING" value="37">
626         <tp:docstring>
627           NetworkManager went to sleep.
628         </tp:docstring>
629       </tp:enumvalue>
630       <tp:enumvalue suffix="CONNECTION_REMOVED" value="38">
631         <tp:docstring>
632           The device's active connection was removed or disappeared.
633         </tp:docstring>
634       </tp:enumvalue>
635       <tp:enumvalue suffix="USER_REQUESTED" value="39">
636         <tp:docstring>
637           A user or client requested the disconnection.
638         </tp:docstring>
639       </tp:enumvalue>
640       <tp:enumvalue suffix="CARRIER" value="40">
641         <tp:docstring>
642           The device's carrier/link changed.
643         </tp:docstring>
644       </tp:enumvalue>
645       <tp:enumvalue suffix="CONNECTION_ASSUMED" value="41">
646         <tp:docstring>
647           The device's existing connection was assumed.
648         </tp:docstring>
649       </tp:enumvalue>
650       <tp:enumvalue suffix="SUPPLICANT_AVAILABLE" value="42">
651         <tp:docstring>
652           The 802.1x supplicant is now available.
653         </tp:docstring>
654       </tp:enumvalue>
655       <tp:enumvalue suffix="MODEM_NOT_FOUND" value="43">
656         <tp:docstring>
657           The modem could not be found.
658         </tp:docstring>
659       </tp:enumvalue>
660       <tp:enumvalue suffix="BT_FAILED" value="44">
661         <tp:docstring>
662           The Bluetooth connection timed out or failed.
663         </tp:docstring>
664       </tp:enumvalue>
665       <tp:enumvalue suffix="GSM_SIM_NOT_INSERTED" value="45">
666         <tp:docstring>
667           GSM Modem's SIM Card not inserted.
668         </tp:docstring>
669       </tp:enumvalue>
670       <tp:enumvalue suffix="GSM_SIM_PIN_REQUIRED" value="46">
671         <tp:docstring>
672           GSM Modem's SIM Pin required.
673         </tp:docstring>
674       </tp:enumvalue>
675       <tp:enumvalue suffix="GSM_SIM_PUK_REQUIRED" value="47">
676         <tp:docstring>
677           GSM Modem's SIM Puk required.
678         </tp:docstring>
679       </tp:enumvalue>
680       <tp:enumvalue suffix="GSM_SIM_WRONG" value="48">
681         <tp:docstring>
682           GSM Modem's SIM wrong
683         </tp:docstring>
684       </tp:enumvalue>
685       <tp:enumvalue suffix="INFINIBAND_MODE" value="49">
686         <tp:docstring>
687           InfiniBand device does not support connected mode.
688         </tp:docstring>
689       </tp:enumvalue>
690       <tp:enumvalue suffix="DEPENDENCY_FAILED" value="50">
691         <tp:docstring>
692           A dependency of the connection failed.
693         </tp:docstring>
694       </tp:enumvalue>
695       <tp:enumvalue suffix="BR2684_FAILED" value="51">
696         <tp:docstring>
697           Problem with the RFC 2684 Ethernet over ADSL bridge.
698         </tp:docstring>
699       </tp:enumvalue>
700       <tp:enumvalue suffix="MODEM_MANAGER_UNAVAILABLE" value="52">
701         <tp:docstring>
702           ModemManager was not running or quit unexpectedly.
703         </tp:docstring>
704       </tp:enumvalue>
705       <tp:enumvalue suffix="SSID_NOT_FOUND" value="53">
706         <tp:docstring>
707           The 802.11 Wi-Fi network could not be found.
708         </tp:docstring>
709       </tp:enumvalue>
710       <tp:enumvalue suffix="SECONDARY_CONNECTION_FAILED" value="54">
711         <tp:docstring>
712           A secondary connection of the base connection failed.
713         </tp:docstring>
714       </tp:enumvalue>
715       <tp:enumvalue suffix="DCB_FCOE_FAILED" value="55">
716         <tp:docstring>
717           DCB or FCoE setup failed.
718         </tp:docstring>
719       </tp:enumvalue>
720       <tp:enumvalue suffix="TEAMD_CONTROL_FAILED" value="56">
721         <tp:docstring>
722           teamd control failed.
723         </tp:docstring>
724       </tp:enumvalue>
725       <tp:enumvalue suffix="MODEM_FAILED" value="57">
726         <tp:docstring>
727           Modem failed or no longer available.
728         </tp:docstring>
729       </tp:enumvalue>
730       <tp:enumvalue suffix="MODEM_AVAILABLE" value="58">
731         <tp:docstring>
732           Modem now ready and available.
733         </tp:docstring>
734       </tp:enumvalue>
735       <tp:enumvalue suffix="SIM_PIN_INCORRECT" value="59">
736         <tp:docstring>
737           The SIM PIN was incorrect.
738         </tp:docstring>
739       </tp:enumvalue>
740       <tp:enumvalue suffix="NEW_ACTIVATION" value="60">
741         <tp:docstring>
742           A new connection activation was enqueued.
743         </tp:docstring>
744       </tp:enumvalue>
745       <tp:enumvalue suffix="PARENT_CHANGED" value="61">
746         <tp:docstring>
747           The device's parent changed.
748         </tp:docstring>
749       </tp:enumvalue>
750       <tp:enumvalue suffix="PARENT_MANAGED_CHANGED" value="62">
751         <tp:docstring>
752           The device parent's management changed.
753         </tp:docstring>
754       </tp:enumvalue>
755     </tp:enum>
756
757     <tp:enum name="NM_METERED" type="u">
758       <tp:enumvalue suffix="UNKNOWN" value="0">
759         <tp:docstring>
760           The device metered status is unknown.
761         </tp:docstring>
762       </tp:enumvalue>
763       <tp:enumvalue suffix="YES" value="1">
764         <tp:docstring>
765           The device is metered and the value was statically set.
766         </tp:docstring>
767       </tp:enumvalue>
768       <tp:enumvalue suffix="NO" value="2">
769         <tp:docstring>
770           The device is not metered and the value was statically set.
771         </tp:docstring>
772       </tp:enumvalue>
773       <tp:enumvalue suffix="GUESS_YES" value="3">
774         <tp:docstring>
775           The device is metered and the value was guessed.
776         </tp:docstring>
777       </tp:enumvalue>
778       <tp:enumvalue suffix="GUESS_NO" value="4">
779         <tp:docstring>
780           The device is not metered and the value was guessed.
781         </tp:docstring>
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         <tp:docstring>
788           The device state.
789         </tp:docstring>
790       </tp:member>
791       <tp:member type="u" name="reason" tp:type="NM_DEVICE_STATE_REASON">
792         <tp:docstring>
793           The reason for originally changing to the device state.
794         </tp:docstring>
795       </tp:member>
796     </tp:struct>
797   </interface>
798 </node>