summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-07-25 15:36:45 +0200
committerDan Williams <dcbw@redhat.com>2013-08-15 10:54:15 -0500
commit23836e8146f56fea6c456e6d3cfe9248d3b1ef7a (patch)
tree5f455d2c36e7892aac7b1250f4c46061a5164fa9 /introspection
parent64cdb1a7f03c59f869b5a68bb2ac6355f89ef079 (diff)
downloadNetworkManager-23836e8146f56fea6c456e6d3cfe9248d3b1ef7a.tar.gz
core: add support for team device
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Diffstat (limited to 'introspection')
-rw-r--r--introspection/Makefile.am1
-rw-r--r--introspection/nm-device-team.xml34
2 files changed, 35 insertions, 0 deletions
diff --git a/introspection/Makefile.am b/introspection/Makefile.am
index fc2d773e0b..1cbb17e060 100644
--- a/introspection/Makefile.am
+++ b/introspection/Makefile.am
@@ -13,6 +13,7 @@ EXTRA_DIST = \
nm-device-wimax.xml \
nm-device-infiniband.xml \
nm-device-bond.xml \
+ nm-device-team.xml \
nm-device-bridge.xml \
nm-device-vlan.xml \
nm-device-generic.xml \
diff --git a/introspection/nm-device-team.xml b/introspection/nm-device-team.xml
new file mode 100644
index 0000000000..baf39fa860
--- /dev/null
+++ b/introspection/nm-device-team.xml
@@ -0,0 +1,34 @@
+<?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.Team">
+
+ <property name="HwAddress" type="s" access="read">
+ <tp:docstring>
+ Hardware address of the device.
+ </tp:docstring>
+ </property>
+
+ <property name="Carrier" type="b" access="read">
+ <tp:docstring>
+ Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not).
+ </tp:docstring>
+ </property>
+
+ <property name="Slaves" type="ao" access="read">
+ <tp:docstring>
+ Array of object paths representing devices which are currently
+ slaved to this device.
+ </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>