summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-05-06 09:16:17 -0400
committerDan Winship <danw@gnome.org>2013-06-04 10:01:13 -0300
commite9f364548a65fd4e26bf22367fe7c28fe127ab41 (patch)
treee3492dbb8fb4a3c7faf893166e61af4b8b8db268 /introspection
parentadd316a40377be0a5f688518ae29170aae1304a7 (diff)
downloadNetworkManager-e9f364548a65fd4e26bf22367fe7c28fe127ab41.tar.gz
platform, devices: add support for macvlan and macvtap devices
Diffstat (limited to 'introspection')
-rw-r--r--introspection/Makefile.am1
-rw-r--r--introspection/nm-device-macvlan.xml33
2 files changed, 34 insertions, 0 deletions
diff --git a/introspection/Makefile.am b/introspection/Makefile.am
index 68f6965c28..0f337ce57f 100644
--- a/introspection/Makefile.am
+++ b/introspection/Makefile.am
@@ -18,6 +18,7 @@ EXTRA_DIST = \
nm-device-generic.xml \
nm-device-veth.xml \
nm-device-tun.xml \
+ nm-device-macvlan.xml \
nm-device.xml \
nm-ip4-config.xml \
nm-ip6-config.xml \
diff --git a/introspection/nm-device-macvlan.xml b/introspection/nm-device-macvlan.xml
new file mode 100644
index 0000000000..a387bf5647
--- /dev/null
+++ b/introspection/nm-device-macvlan.xml
@@ -0,0 +1,33 @@
+<?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.Macvlan">
+
+ <property name="Parent" type="o" access="read">
+ <tp:docstring>
+ The object path of the parent device.
+ </tp:docstring>
+ </property>
+
+ <property name="Mode" type="s" access="read">
+ <tp:docstring>
+ The macvlan mode, one of "private", "vepa", "bridge", or "passthru".
+ </tp:docstring>
+ </property>
+
+ <property name="NoPromisc" type="b" access="read">
+ <tp:docstring>
+ Whether the device is blocked from going into promiscuous mode.
+ </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>