mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
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.
This commit is contained in:
parent
7c1f3650a1
commit
56a6c53de0
|
@ -204,6 +204,8 @@ introspection_sources = \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.Infiniband.h \
|
introspection/org.freedesktop.NetworkManager.Device.Infiniband.h \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.IPTunnel.c \
|
introspection/org.freedesktop.NetworkManager.Device.IPTunnel.c \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.IPTunnel.h \
|
introspection/org.freedesktop.NetworkManager.Device.IPTunnel.h \
|
||||||
|
introspection/org.freedesktop.NetworkManager.Device.Lowpan.c \
|
||||||
|
introspection/org.freedesktop.NetworkManager.Device.Lowpan.h \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.Macsec.c \
|
introspection/org.freedesktop.NetworkManager.Device.Macsec.c \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.Macsec.h \
|
introspection/org.freedesktop.NetworkManager.Device.Macsec.h \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.Macvlan.c \
|
introspection/org.freedesktop.NetworkManager.Device.Macvlan.c \
|
||||||
|
@ -310,7 +312,8 @@ DBUS_INTERFACE_DOCS = \
|
||||||
docs/api/dbus-org.freedesktop.NetworkManager.Device.Wired.xml \
|
docs/api/dbus-org.freedesktop.NetworkManager.Device.Wired.xml \
|
||||||
docs/api/dbus-org.freedesktop.NetworkManager.IP4Config.xml \
|
docs/api/dbus-org.freedesktop.NetworkManager.IP4Config.xml \
|
||||||
docs/api/dbus-org.freedesktop.NetworkManager.Device.Statistics.xml \
|
docs/api/dbus-org.freedesktop.NetworkManager.Device.Statistics.xml \
|
||||||
docs/api/dbus-org.freedesktop.NetworkManager.DnsManager.xml
|
docs/api/dbus-org.freedesktop.NetworkManager.DnsManager.xml \
|
||||||
|
docs/api/dbus-org.freedesktop.NetworkManager.Device.Lowpan.xml
|
||||||
|
|
||||||
introspection/%.c: introspection/%.xml
|
introspection/%.c: introspection/%.xml
|
||||||
@$(MKDIR_P) introspection/
|
@$(MKDIR_P) introspection/
|
||||||
|
@ -343,6 +346,7 @@ dbusinterfaces_DATA = \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.Generic.xml \
|
introspection/org.freedesktop.NetworkManager.Device.Generic.xml \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml \
|
introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.IPTunnel.xml \
|
introspection/org.freedesktop.NetworkManager.Device.IPTunnel.xml \
|
||||||
|
introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.Macsec.xml \
|
introspection/org.freedesktop.NetworkManager.Device.Macsec.xml \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.Macvlan.xml \
|
introspection/org.freedesktop.NetworkManager.Device.Macvlan.xml \
|
||||||
introspection/org.freedesktop.NetworkManager.Device.Modem.xml \
|
introspection/org.freedesktop.NetworkManager.Device.Modem.xml \
|
||||||
|
|
|
@ -15,6 +15,7 @@ ifaces = [
|
||||||
'org.freedesktop.NetworkManager.Device.Generic',
|
'org.freedesktop.NetworkManager.Device.Generic',
|
||||||
'org.freedesktop.NetworkManager.Device.Infiniband',
|
'org.freedesktop.NetworkManager.Device.Infiniband',
|
||||||
'org.freedesktop.NetworkManager.Device.IPTunnel',
|
'org.freedesktop.NetworkManager.Device.IPTunnel',
|
||||||
|
'org.freedesktop.NetworkManager.Device.Lowpan',
|
||||||
'org.freedesktop.NetworkManager.Device.Macsec',
|
'org.freedesktop.NetworkManager.Device.Macsec',
|
||||||
'org.freedesktop.NetworkManager.Device.Macvlan',
|
'org.freedesktop.NetworkManager.Device.Macvlan',
|
||||||
'org.freedesktop.NetworkManager.Device.Modem',
|
'org.freedesktop.NetworkManager.Device.Modem',
|
||||||
|
|
|
@ -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>
|
|
@ -76,6 +76,7 @@
|
||||||
#define NM_DBUS_INTERFACE_DEVICE_GRE NM_DBUS_INTERFACE_DEVICE ".Gre"
|
#define NM_DBUS_INTERFACE_DEVICE_GRE NM_DBUS_INTERFACE_DEVICE ".Gre"
|
||||||
#define NM_DBUS_INTERFACE_DEVICE_IP_TUNNEL NM_DBUS_INTERFACE_DEVICE ".IPTunnel"
|
#define NM_DBUS_INTERFACE_DEVICE_IP_TUNNEL NM_DBUS_INTERFACE_DEVICE ".IPTunnel"
|
||||||
#define NM_DBUS_INTERFACE_DEVICE_WPAN NM_DBUS_INTERFACE_DEVICE ".Wpan"
|
#define NM_DBUS_INTERFACE_DEVICE_WPAN NM_DBUS_INTERFACE_DEVICE ".Wpan"
|
||||||
|
#define NM_DBUS_INTERFACE_DEVICE_6LOWPAN NM_DBUS_INTERFACE_DEVICE ".Lowpan"
|
||||||
#define NM_DBUS_INTERFACE_DEVICE_STATISTICS NM_DBUS_INTERFACE_DEVICE ".Statistics"
|
#define NM_DBUS_INTERFACE_DEVICE_STATISTICS NM_DBUS_INTERFACE_DEVICE ".Statistics"
|
||||||
#define NM_DBUS_INTERFACE_CHECKPOINT NM_DBUS_INTERFACE ".Checkpoint"
|
#define NM_DBUS_INTERFACE_CHECKPOINT NM_DBUS_INTERFACE ".Checkpoint"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue