~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to solid/networkmanager-0.7/dbus/introspection/nm-device.xml

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
        Unique Device Identifier.
 
8
      </tp:docstring>
 
9
    </property>
 
10
    <property name="Interface" type="s" access="read">
 
11
      <tp:docstring>
 
12
        The name of the device's control (and often data) interface.
 
13
      </tp:docstring>
 
14
    </property>
 
15
    <property name="IpInterface" type="s" access="read">
 
16
      <tp:docstring>
 
17
        The name of the device's data interface when available.  This property
 
18
        may not refer to the actual data interface until the device has
 
19
        successfully established a data connection, indicated by the device's
 
20
        State becoming ACTIVATED.
 
21
      </tp:docstring>
 
22
    </property>
 
23
    <property name="Driver" type="s" access="read">
 
24
      <tp:docstring>
 
25
        The driver handling the device.
 
26
      </tp:docstring>
 
27
    </property>
 
28
    <property name="Capabilities" type="u" access="read" tp:type="NM_DEVICE_CAP">
 
29
      <tp:docstring>
 
30
        Flags describing the capabilities of the device.
 
31
      </tp:docstring>
 
32
    </property>
 
33
    <property name="Ip4Address" type="i" access="read">
 
34
      <tp:docstring>
 
35
        The IPv4 address bound to the device. FIXME: what about devices with >1 IP address?
 
36
      </tp:docstring>
 
37
    </property>
 
38
    <property name="State" type="u" access="read" tp:type="NM_DEVICE_STATE">
 
39
      <tp:docstring>
 
40
        The current state of the device.
 
41
      </tp:docstring>
 
42
    </property>
 
43
    <property name="Ip4Config" type="o" access="read">
 
44
      <tp:docstring>
 
45
        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.
 
46
      </tp:docstring>
 
47
    </property>
 
48
    <property name="Dhcp4Config" type="o" access="read">
 
49
      <tp:docstring>
 
50
        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.
 
51
      </tp:docstring>
 
52
    </property>
 
53
    <property name="Ip6Config" type="o" access="read">
 
54
      <tp:docstring>
 
55
        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.
 
56
      </tp:docstring>
 
57
    </property>
 
58
    <property name="Managed" type="b" access="read">
 
59
      <tp:docstring>
 
60
        Whether or not this device is managed by NetworkManager.
 
61
      </tp:docstring>
 
62
    </property>
 
63
    <property name="FirmwareMissing" type="b" access="read">
 
64
      <tp:docstring>
 
65
        If TRUE, indicates the device is likely missing firmware necessary for
 
66
        its operation.
 
67
      </tp:docstring>
 
68
    </property>
 
69
    <property name="DeviceType" type="u" access="read" tp:type="NM_DEVICE_TYPE">
 
70
      <tp:docstring>
 
71
        The general type of the network device; ie Ethernet, WiFi, etc.
 
72
      </tp:docstring>
 
73
    </property>
 
74
 
 
75
    <method name="Disconnect">
 
76
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_device_disconnect"/>
 
77
      <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
 
78
      <tp:docstring>
 
79
        Disconnects a device and prevents the device from automatically activating further connections without user intervention.
 
80
      </tp:docstring>
 
81
    </method>
 
82
 
 
83
    <signal name="StateChanged">
 
84
      <arg name="new_state" type="u" tp:type="NM_DEVICE_STATE">
 
85
        <tp:docstring>
 
86
          The new state of the device.
 
87
        </tp:docstring>
 
88
      </arg>
 
89
      <arg name="old_state" type="u" tp:type="NM_DEVICE_STATE">
 
90
        <tp:docstring>
 
91
          The previous state of the device.
 
92
        </tp:docstring>
 
93
      </arg>
 
94
      <arg name="reason" type="u" tp:type="NM_DEVICE_STATE_REASON">
 
95
        <tp:docstring>
 
96
          A reason for the state transition.
 
97
        </tp:docstring>
 
98
      </arg>
 
99
    </signal>
 
100
 
 
101
    <tp:enum name="NM_DEVICE_STATE" type="u">
 
102
      <tp:enumvalue suffix="UNKNOWN" value="0">
 
103
        <tp:docstring>
 
104
          The device is in an unknown state.
 
105
        </tp:docstring>
 
106
      </tp:enumvalue>
 
107
      <tp:enumvalue suffix="UNMANAGED" value="1">
 
108
        <tp:docstring>
 
109
          The device is not managed by NetworkManager.
 
110
        </tp:docstring>
 
111
      </tp:enumvalue>
 
112
      <tp:enumvalue suffix="UNAVAILABLE" value="2">
 
113
        <tp:docstring>
 
114
          The device cannot be used (carrier off, rfkill, etc).
 
115
        </tp:docstring>
 
116
      </tp:enumvalue>
 
117
      <tp:enumvalue suffix="DISCONNECTED" value="3">
 
118
        <tp:docstring>
 
119
          The device is not connected.
 
120
        </tp:docstring>
 
121
      </tp:enumvalue>
 
122
      <tp:enumvalue suffix="PREPARE" value="4">
 
123
        <tp:docstring>
 
124
          The device is preparing to connect.
 
125
        </tp:docstring>
 
126
      </tp:enumvalue>
 
127
      <tp:enumvalue suffix="CONFIG" value="5">
 
128
        <tp:docstring>
 
129
          The device is being configured.
 
130
        </tp:docstring>
 
131
      </tp:enumvalue>
 
132
      <tp:enumvalue suffix="NEED_AUTH" value="6">
 
133
        <tp:docstring>
 
134
          The device is awaiting secrets necessary to continue connection.
 
135
        </tp:docstring>
 
136
      </tp:enumvalue>
 
137
      <tp:enumvalue suffix="IP_CONFIG" value="7">
 
138
        <tp:docstring>
 
139
          The IP settings of the device are being requested and configured.
 
140
        </tp:docstring>
 
141
      </tp:enumvalue>
 
142
      <tp:enumvalue suffix="ACTIVATED" value="8">
 
143
        <tp:docstring>
 
144
          The device is active.
 
145
        </tp:docstring>
 
146
      </tp:enumvalue>
 
147
      <tp:enumvalue suffix="FAILED" value="9">
 
148
        <tp:docstring>
 
149
          The device is in a failure state following an attempt to activate it.
 
150
        </tp:docstring>
 
151
      </tp:enumvalue>
 
152
    </tp:enum>
 
153
 
 
154
    <tp:enum name="NM_DEVICE_TYPE" type="u">
 
155
      <tp:enumvalue suffix="UNKNOWN" value="0">
 
156
        <tp:docstring>
 
157
          The device type is unknown.
 
158
        </tp:docstring>
 
159
      </tp:enumvalue>
 
160
      <tp:enumvalue suffix="ETHERNET" value="1">
 
161
        <tp:docstring>
 
162
          The device is wired Ethernet device.
 
163
        </tp:docstring>
 
164
      </tp:enumvalue>
 
165
      <tp:enumvalue suffix="WIFI" value="2">
 
166
        <tp:docstring>
 
167
          The device is an 802.11 WiFi device.
 
168
        </tp:docstring>
 
169
      </tp:enumvalue>
 
170
      <tp:enumvalue suffix="GSM" value="3">
 
171
        <tp:docstring>
 
172
          The device is a GSM-based cellular WAN device.
 
173
        </tp:docstring>
 
174
      </tp:enumvalue>
 
175
      <tp:enumvalue suffix="CDMA" value="4">
 
176
        <tp:docstring>
 
177
          The device is a CDMA/IS-95-based cellular WAN device.
 
178
        </tp:docstring>
 
179
      </tp:enumvalue>
 
180
      <tp:enumvalue suffix="BLUETOOTH" value="5">
 
181
        <tp:docstring>
 
182
          The device is a BLUETOOTH cellular.
 
183
        </tp:docstring>
 
184
      </tp:enumvalue>
 
185
    </tp:enum>
 
186
 
 
187
    <tp:flags name="NM_DEVICE_CAP" value-prefix="NM_DEVICE_CAP" type="u">
 
188
      <tp:flag suffix="NONE" value="0x0">
 
189
        <tp:docstring>Null capability.</tp:docstring>
 
190
      </tp:flag>
 
191
      <tp:flag suffix="NM_SUPPORTED" value="0x1">
 
192
        <tp:docstring>The device is supported by NetworkManager.</tp:docstring>
 
193
      </tp:flag>
 
194
      <tp:flag suffix="CARRIER_DETECT" value="0x2">
 
195
        <tp:docstring>The device supports carrier detection.</tp:docstring>
 
196
      </tp:flag>
 
197
    </tp:flags>
 
198
 
 
199
    <tp:enum name="NM_DEVICE_STATE_REASON" type="u">
 
200
      <tp:enumvalue suffix="UNKNOWN" value="0">
 
201
        <tp:docstring>
 
202
          The reason for the device state change is unknown.
 
203
        </tp:docstring>
 
204
      </tp:enumvalue>
 
205
      <tp:enumvalue suffix="NONE" value="1">
 
206
        <tp:docstring>
 
207
          The state change is normal.
 
208
        </tp:docstring>
 
209
      </tp:enumvalue>
 
210
      <tp:enumvalue suffix="NOW_MANAGED" value="2">
 
211
        <tp:docstring>
 
212
          The device is now managed.
 
213
        </tp:docstring>
 
214
      </tp:enumvalue>
 
215
      <tp:enumvalue suffix="NOW_UNMANAGED" value="3">
 
216
        <tp:docstring>
 
217
          The device is no longer managed.
 
218
        </tp:docstring>
 
219
      </tp:enumvalue>
 
220
      <tp:enumvalue suffix="CONFIG_FAILED" value="4">
 
221
        <tp:docstring>
 
222
          The device could not be readied for configuration.
 
223
        </tp:docstring>
 
224
      </tp:enumvalue>
 
225
      <tp:enumvalue suffix="CONFIG_UNAVAILABLE" value="5">
 
226
        <tp:docstring>
 
227
          IP configuration could not be reserved (no available address, timeout, etc).
 
228
        </tp:docstring>
 
229
      </tp:enumvalue>
 
230
      <tp:enumvalue suffix="CONFIG_EXPIRED" value="6">
 
231
        <tp:docstring>
 
232
          The IP configuration is no longer valid.
 
233
        </tp:docstring>
 
234
      </tp:enumvalue>
 
235
      <tp:enumvalue suffix="NO_SECRETS" value="7">
 
236
        <tp:docstring>
 
237
          Secrets were required, but not provided.
 
238
        </tp:docstring>
 
239
      </tp:enumvalue>
 
240
      <tp:enumvalue suffix="SUPPLICANT_DISCONNECT" value="8">
 
241
        <tp:docstring>
 
242
          The 802.1X supplicant disconnected from the access point or authentication server.
 
243
        </tp:docstring>
 
244
      </tp:enumvalue>
 
245
      <tp:enumvalue suffix="SUPPLICANT_CONFIG_FAILED" value="9">
 
246
        <tp:docstring>
 
247
          Configuration of the 802.1X supplicant failed.
 
248
        </tp:docstring>
 
249
      </tp:enumvalue>
 
250
      <tp:enumvalue suffix="SUPPLICANT_FAILED" value="10">
 
251
        <tp:docstring>
 
252
          The 802.1X supplicant quit or failed unexpectedly.
 
253
        </tp:docstring>
 
254
      </tp:enumvalue>
 
255
      <tp:enumvalue suffix="SUPPLICANT_TIMEOUT" value="11">
 
256
        <tp:docstring>
 
257
          The 802.1X supplicant took too long to authenticate.
 
258
        </tp:docstring>
 
259
      </tp:enumvalue>
 
260
      <tp:enumvalue suffix="PPP_START_FAILED" value="12">
 
261
        <tp:docstring>
 
262
          The PPP service failed to start within the allowed time.
 
263
        </tp:docstring>
 
264
      </tp:enumvalue>
 
265
      <tp:enumvalue suffix="PPP_DISCONNECT" value="13">
 
266
        <tp:docstring>
 
267
          The PPP service disconnected unexpectedly.
 
268
        </tp:docstring>
 
269
      </tp:enumvalue>
 
270
      <tp:enumvalue suffix="PPP_FAILED" value="14">
 
271
        <tp:docstring>
 
272
          The PPP service quit or failed unexpectedly.
 
273
        </tp:docstring>
 
274
      </tp:enumvalue>
 
275
      <tp:enumvalue suffix="DHCP_START_FAILED" value="15">
 
276
        <tp:docstring>
 
277
          The DHCP service failed to start within the allowed time.
 
278
        </tp:docstring>
 
279
      </tp:enumvalue>
 
280
      <tp:enumvalue suffix="DHCP_ERROR" value="16">
 
281
        <tp:docstring>
 
282
          The DHCP service reported an unexpected error.
 
283
        </tp:docstring>
 
284
      </tp:enumvalue>
 
285
      <tp:enumvalue suffix="DHCP_FAILED" value="17">
 
286
        <tp:docstring>
 
287
          The DHCP service quit or failed unexpectedly.
 
288
        </tp:docstring>
 
289
      </tp:enumvalue>
 
290
      <tp:enumvalue suffix="SHARED_START_FAILED" value="18">
 
291
        <tp:docstring>
 
292
          The shared connection service failed to start.
 
293
        </tp:docstring>
 
294
      </tp:enumvalue>
 
295
      <tp:enumvalue suffix="SHARED_FAILED" value="19">
 
296
        <tp:docstring>
 
297
          The shared connection service quit or failed unexpectedly.
 
298
        </tp:docstring>
 
299
      </tp:enumvalue>
 
300
      <tp:enumvalue suffix="AUTOIP_START_FAILED" value="20">
 
301
        <tp:docstring>
 
302
          The AutoIP service failed to start.
 
303
        </tp:docstring>
 
304
      </tp:enumvalue>
 
305
      <tp:enumvalue suffix="AUTOIP_ERROR" value="21">
 
306
        <tp:docstring>
 
307
          The AutoIP service reported an unexpected error.
 
308
        </tp:docstring>
 
309
      </tp:enumvalue>
 
310
      <tp:enumvalue suffix="AUTOIP_FAILED" value="22">
 
311
        <tp:docstring>
 
312
          The AutoIP service quit or failed unexpectedly.
 
313
        </tp:docstring>
 
314
      </tp:enumvalue>
 
315
      <tp:enumvalue suffix="MODEM_BUSY" value="23">
 
316
        <tp:docstring>
 
317
          Dialing failed because the line was busy.
 
318
        </tp:docstring>
 
319
      </tp:enumvalue>
 
320
      <tp:enumvalue suffix="MODEM_NO_DIAL_TONE" value="24">
 
321
        <tp:docstring>
 
322
          Dialing failed because there was no dial tone.
 
323
        </tp:docstring>
 
324
      </tp:enumvalue>
 
325
      <tp:enumvalue suffix="MODEM_NO_CARRIER" value="25">
 
326
        <tp:docstring>
 
327
          Dialing failed because there was carrier.
 
328
        </tp:docstring>
 
329
      </tp:enumvalue>
 
330
      <tp:enumvalue suffix="MODEM_DIAL_TIMEOUT" value="26">
 
331
        <tp:docstring>
 
332
          Dialing timed out.
 
333
        </tp:docstring>
 
334
      </tp:enumvalue>
 
335
      <tp:enumvalue suffix="MODEM_DIAL_FAILED" value="27">
 
336
        <tp:docstring>
 
337
          Dialing failed.
 
338
        </tp:docstring>
 
339
      </tp:enumvalue>
 
340
      <tp:enumvalue suffix="MODEM_INIT_FAILED" value="28">
 
341
        <tp:docstring>
 
342
          Modem initialization failed.
 
343
        </tp:docstring>
 
344
      </tp:enumvalue>
 
345
      <tp:enumvalue suffix="GSM_APN_FAILED" value="29">
 
346
        <tp:docstring>
 
347
          Failed to select the specified GSM APN.
 
348
        </tp:docstring>
 
349
      </tp:enumvalue>
 
350
      <tp:enumvalue suffix="GSM_REGISTRATION_NOT_SEARCHING" value="30">
 
351
        <tp:docstring>
 
352
          Not searching for networks.
 
353
        </tp:docstring>
 
354
      </tp:enumvalue>
 
355
      <tp:enumvalue suffix="GSM_REGISTRATION_DENIED" value="31">
 
356
        <tp:docstring>
 
357
          Network registration was denied.
 
358
        </tp:docstring>
 
359
      </tp:enumvalue>
 
360
      <tp:enumvalue suffix="GSM_REGISTRATION_TIMEOUT" value="32">
 
361
        <tp:docstring>
 
362
          Network registration timed out.
 
363
        </tp:docstring>
 
364
      </tp:enumvalue>
 
365
      <tp:enumvalue suffix="GSM_REGISTRATION_FAILED" value="33">
 
366
        <tp:docstring>
 
367
          Failed to register with the requested GSM network.
 
368
        </tp:docstring>
 
369
      </tp:enumvalue>
 
370
      <tp:enumvalue suffix="GSM_PIN_CHECK_FAILED" value="34">
 
371
        <tp:docstring>
 
372
          PIN check failed.
 
373
        </tp:docstring>
 
374
      </tp:enumvalue>
 
375
      <tp:enumvalue suffix="FIRMWARE_MISSING" value="35">
 
376
        <tp:docstring>
 
377
          Necessary firmware for the device may be missing.
 
378
        </tp:docstring>
 
379
      </tp:enumvalue>
 
380
      <tp:enumvalue suffix="REMOVED" value="36">
 
381
        <tp:docstring>
 
382
          The device was removed.
 
383
        </tp:docstring>
 
384
      </tp:enumvalue>
 
385
      <tp:enumvalue suffix="SLEEPING" value="37">
 
386
        <tp:docstring>
 
387
          NetworkManager went to sleep.
 
388
        </tp:docstring>
 
389
      </tp:enumvalue>
 
390
      <tp:enumvalue suffix="CONNECTION_REMOVED" value="38">
 
391
        <tp:docstring>
 
392
          The device's active connection was removed or disappeared.
 
393
        </tp:docstring>
 
394
      </tp:enumvalue>
 
395
      <tp:enumvalue suffix="USER_REQUESTED" value="39">
 
396
        <tp:docstring>
 
397
          A user or client requested the disconnection.
 
398
        </tp:docstring>
 
399
      </tp:enumvalue>
 
400
      <tp:enumvalue suffix="CARRIER" value="40">
 
401
        <tp:docstring>
 
402
          The device's carrier/link changed.
 
403
        </tp:docstring>
 
404
      </tp:enumvalue>
 
405
      <tp:enumvalue suffix="CONNECTION_ASSUMED" value="41">
 
406
        <tp:docstring>
 
407
          The device's existing connection was assumed.
 
408
        </tp:docstring>
 
409
      </tp:enumvalue>
 
410
      <tp:enumvalue suffix="SUPPLICANT_AVAILABLE" value="42">
 
411
        <tp:docstring>
 
412
          The 802.1x supplicant is now available.
 
413
        </tp:docstring>
 
414
      </tp:enumvalue>
 
415
      <tp:enumvalue suffix="MODEM_NOT_FOUND" value="43">
 
416
        <tp:docstring>
 
417
          The modem could not be found.
 
418
        </tp:docstring>
 
419
      </tp:enumvalue>
 
420
      <tp:enumvalue suffix="BT_FAILED" value="44">
 
421
        <tp:docstring>
 
422
          The Bluetooth connection timed out or failed.
 
423
        </tp:docstring>
 
424
      </tp:enumvalue>
 
425
    </tp:enum>
 
426
 
 
427
  </interface>
 
428
</node>