diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-07-25 15:36:45 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-08-15 10:54:15 -0500 |
commit | 23836e8146f56fea6c456e6d3cfe9248d3b1ef7a (patch) | |
tree | 5f455d2c36e7892aac7b1250f4c46061a5164fa9 /introspection | |
parent | 64cdb1a7f03c59f869b5a68bb2ac6355f89ef079 (diff) | |
download | NetworkManager-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.am | 1 | ||||
-rw-r--r-- | introspection/nm-device-team.xml | 34 |
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> |