summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-05-22 16:24:58 +0200
committerLubomir Rintel <lkundrak@v3.sk>2018-06-26 16:21:55 +0200
commit56a6c53de04ba5567bbede792be840c9e3847c9b (patch)
treeb36d88afeb80b53b8d89ebeaed807f855d51384e /introspection
parent7c1f3650a14cd565533475515e0e3ed1c26c8fce (diff)
introspection: add o.fd.NM.Device.Lowpan interface
It's for 6LoWPAN devices. "o.fd.NM.Device.6Lowpan" wouldn't be a valid interface name -- just skip the leading numeral, that's what kernel also does on similiar occassions.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/meson.build1
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml24
2 files changed, 25 insertions, 0 deletions
diff --git a/introspection/meson.build b/introspection/meson.build
index a84bba791..57d6a196c 100644
--- a/introspection/meson.build
+++ b/introspection/meson.build
@@ -15,6 +15,7 @@ ifaces = [
'org.freedesktop.NetworkManager.Device.Generic',
'org.freedesktop.NetworkManager.Device.Infiniband',
'org.freedesktop.NetworkManager.Device.IPTunnel',
+ 'org.freedesktop.NetworkManager.Device.Lowpan',
'org.freedesktop.NetworkManager.Device.Macsec',
'org.freedesktop.NetworkManager.Device.Macvlan',
'org.freedesktop.NetworkManager.Device.Modem',
diff --git a/introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml b/introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml
new file mode 100644
index 000000000..c0317be6c
--- /dev/null
+++ b/introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<node name="/">
+ <!--
+ org.freedesktop.NetworkManager.Device.Lowpan:
+ @short_description: 6LoWPAN Device
+
+ -->
+ <interface name="org.freedesktop.NetworkManager.Device.Lowpan">
+
+ <!--
+ HwAddress:
+
+ The active hardware address of the device.
+ -->
+ <property name="HwAddress" type="s" access="read"/>
+
+ <!--
+ Parent:
+
+ The object path of the parent device.
+ -->
+ <property name="Parent" type="o" access="read"/>
+ </interface>
+</node>