summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-05-21 12:49:24 -0300
committerDan Winship <danw@gnome.org>2013-06-04 10:01:14 -0300
commitd9e0a7cbd6f8fdf81e2f66192828b860a38edd10 (patch)
treeca1ddc9001a0b2e43a908495b5a66a645a64ad85 /introspection
parent7f0f04d1067ff05527007e03af591a2bfecadafb (diff)
platform, devices: add support for gre and gretap devices
Diffstat (limited to 'introspection')
-rw-r--r--introspection/Makefile.am1
-rw-r--r--introspection/nm-device-gre.xml81
2 files changed, 82 insertions, 0 deletions
diff --git a/introspection/Makefile.am b/introspection/Makefile.am
index 6fb9bd11c7..3bbd853769 100644
--- a/introspection/Makefile.am
+++ b/introspection/Makefile.am
@@ -20,6 +20,7 @@ EXTRA_DIST = \
nm-device-tun.xml \
nm-device-macvlan.xml \
nm-device-vxlan.xml \
+ nm-device-gre.xml \
nm-device.xml \
nm-ip4-config.xml \
nm-ip6-config.xml \
diff --git a/introspection/nm-device-gre.xml b/introspection/nm-device-gre.xml
new file mode 100644
index 0000000000..ae418aab55
--- /dev/null
+++ b/introspection/nm-device-gre.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
+ <interface name="org.freedesktop.NetworkManager.Device.Gre">
+
+ <property name="Parent" type="o" access="read">
+ <tp:docstring>
+ The object path of the parent device.
+ </tp:docstring>
+ </property>
+
+ <property name="InputFlags" type="q" access="read">
+ <tp:docstring>
+ The expected set of GRE flags for incoming packets. (The
+ values are specified by the GRE specification. On Linux, they
+ are defined in &lt;linux/if_tunnel.h&gt;. Eg, GRE_KEY for the
+ 'Key Present' bit.)
+ </tp:docstring>
+ </property>
+
+ <property name="OutputFlags" type="q" access="read">
+ <tp:docstring>
+ The set of GRE flags to use for outgoing packets. (The
+ values are specified by the GRE specification. On Linux, they
+ are defined in &lt;linux/if_tunnel.h&gt;. Eg, GRE_KEY for the
+ 'Key Present' bit.)
+ </tp:docstring>
+ </property>
+
+ <property name="InputKey" type="u" access="read">
+ <tp:docstring>
+ Expected input key (if the "Key Present" bit is set in the input flags).
+ </tp:docstring>
+ </property>
+
+ <property name="OutputKey" type="u" access="read">
+ <tp:docstring>
+ Output key (if the "Key Present" bit is set in the output flags).
+ </tp:docstring>
+ </property>
+
+ <property name="Local" type="s" access="read">
+ <tp:docstring>
+ The local end of the tunnel.
+ </tp:docstring>
+ </property>
+
+ <property name="Remote" type="s" access="read">
+ <tp:docstring>
+ The remote end of the tunnel.
+ </tp:docstring>
+ </property>
+
+ <property name="Ttl" type="y" access="read">
+ <tp:docstring>
+ The value to use in the IP TTL field for tunnel packets.
+ </tp:docstring>
+ </property>
+
+ <property name="Tos" type="y" access="read">
+ <tp:docstring>
+ The value to use in the IP ToS field for tunnel packets.
+ </tp:docstring>
+ </property>
+
+ <property name="PathMtuDiscovery" type="b" access="read">
+ <tp:docstring>
+ Whether path MTU discovery is performed.
+ </tp:docstring>
+ </property>
+
+ <signal name="PropertiesChanged">
+ <arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
+ <tp:docstring>
+ A dictionary mapping property names to variant boxed values
+ </tp:docstring>
+ </arg>
+ </signal>
+
+ </interface>
+</node>