summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-10-07 11:48:38 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2015-10-12 14:44:30 +0200
commit07a9364d9c151bc3086a863759d31d0857ae011e (patch)
tree0604c97c6ceb85ff775362475ff9d71c023880a8 /introspection
parentc364ef0b97f0a74bfa6d037e3075c6e8565a718c (diff)
device: export list of LLDP neighbors through D-Bus
This adds a LldpNeighbors property to the Device D-Bus interface carrying information about devices discovered through LLDP. The property is an array of hashes and each hash describes the values of LLDP TLVs for a specific neighbor.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/nm-device.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/introspection/nm-device.xml b/introspection/nm-device.xml
index 909254002f..fd377a07eb 100644
--- a/introspection/nm-device.xml
+++ b/introspection/nm-device.xml
@@ -155,6 +155,12 @@
subject to limitations, for example set by service providers.
</tp:docstring>
</property>
+ <property name="LldpNeighbors" type="aa{sv}" access="read">
+ <tp:docstring>
+ Array of LLDP neighbors; each element is a dictionary mapping
+ LLDP TLV names to variant boxed values.
+ </tp:docstring>
+ </property>
<method name="Disconnect">
<tp:docstring>