summaryrefslogtreecommitdiff
path: root/introspection/nm-device.xml
blob: 03b6649dfc9e28042495a02953b62b715b088ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="UTF-8" ?>

<node name="/">
  <interface name="org.freedesktop.NetworkManager.Device">
    <method name="Activate">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_device_activate"/>
      <arg name="connection" type="a{sa{sv}}o" direction="in"/>
    </method>
    <method name="Deactivate">
      <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_device_deactivate"/>
    </method>

    <property name="Udi" type="s" access="read"/>
    <property name="Index" type="u" access="read"/>
    <property name="Interface" type="s" access="read"/>
    <property name="Driver" type="s" access="read"/>
    <property name="Capabilities" type="u" access="read"/>
    <property name="Ip4Address" type="i" access="read"/>
    <property name="State" type="u" access="read"/>
    <property name="Ip4Config" type="o" access="read"/>

    <!-- Ugh, but I see no other way of getting the type on the caller
         based on dbus object path only -->
    <property name="DeviceType" type="u" access="read"/>

    <signal name="StateChanged">
      <arg name="state" type="u"/>
    </signal>

    <signal name="CarrierChanged">
      <arg name="carrier_on" type="b"/>
    </signal>

  </interface>
</node>