summaryrefslogtreecommitdiff
path: root/dispatcher/nm-dispatcher.xml
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-10-12 11:56:33 +0200
committerThomas Haller <thaller@redhat.com>2016-10-13 21:33:33 +0200
commitf42466215aa6de79f14a00f256286e49e235914b (patch)
treef196ca5a3d876776d9ecc606095929f950c58dc1 /dispatcher/nm-dispatcher.xml
parent8b660f245667c33e89d883ec71cc3df54b6c655f (diff)
downloadNetworkManager-f42466215aa6de79f14a00f256286e49e235914b.tar.gz
callouts/dispatcher: rename directory callouts
Originally, the "callouts" directory contained various programs that NetworkManager would call, for example the dhcp helper. For a while, it only contains nm-dispatcher. Thus rename the directory to indicate that it's for dispatcher.
Diffstat (limited to 'dispatcher/nm-dispatcher.xml')
-rw-r--r--dispatcher/nm-dispatcher.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/dispatcher/nm-dispatcher.xml b/dispatcher/nm-dispatcher.xml
new file mode 100644
index 0000000000..0d9d28e2c2
--- /dev/null
+++ b/dispatcher/nm-dispatcher.xml
@@ -0,0 +1,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>