summaryrefslogtreecommitdiff
path: root/dispatcher/nm-dispatcher.xml
blob: 0d9d28e2c27949b770bab707f97dab0d7e18d20d (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
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<node name="/">
  <interface name="org.freedesktop.nm_dispatcher">
    <annotation name="org.gtk.GDBus.C.Name" value="Dispatcher"/>

    <!--
        Action:
        @action: The action being performed.
        @connection: The connection for which this action was triggered.
        @connection_properties: Properties of the connection, including service and path.
        @device_properties: Properties of the device, including type, path, interface, and state.
        @device_proxy_properties: Properties of the device's proxy configuration.
        @device_ip4_config: Properties of the device's IPv4 configuration.
        @device_ip6_config: Properties of the device's IPv6 configuration.
        @device_dhcp4_config: Properties of the device's DHCPv4 configuration.
        @device_dhcp6_config: Properties of the device's DHCPv6 configuration.
        @connectivity_state: Current connectivity state: unknown, none, limited, portal or full.
        @vpn_ip_iface: VPN interface name.
        @vpn_proxy_properties: Properties of the VPN's proxy configuration.
        @vpn_ip4_config: Properties of the VPN's IPv4 configuration.
        @vpn_ip6_config: Properties of the VPN's IPv6 configuration.
        @debug: Whether to log debug output.
        @results: Results of dispatching operations. Each element of the returned array is a struct containing the path of an executed script (s), the result of running that script (u), and a description of the result (s).

        INTERNAL; not public API. Perform an action.
    -->
    <method name="Action">
      <arg name="action" type="s" direction="in"/>
      <arg name="connection" type="a{sa{sv}}" direction="in"/>
      <arg name="connection_properties" type="a{sv}" direction="in"/>
      <arg name="device_properties" type="a{sv}" direction="in"/>
      <arg name="device_proxy_properties" type="a{sv}" direction="in"/>
      <arg name="device_ip4_config" type="a{sv}" direction="in"/>
      <arg name="device_ip6_config" type="a{sv}" direction="in"/>
      <arg name="device_dhcp4_config" type="a{sv}" direction="in"/>
      <arg name="device_dhcp6_config" type="a{sv}" direction="in"/>
      <arg name="connectivity_state" type="s" direction="in"/>
      <arg name="vpn_ip_iface" type="s" direction="in"/>
      <arg name="vpn_proxy_properties" type="a{sv}" direction="in"/>
      <arg name="vpn_ip4_config" type="a{sv}" direction="in"/>
      <arg name="vpn_ip6_config" type="a{sv}" direction="in"/>
      <arg name="debug" type="b" direction="in"/>
      <arg name="results" type="a(sus)" direction="out"/>
    </method>
  </interface>
</node>