introspection: use common format for DEPREACTED properties in introspection

All other forms of deprecations use a "DEPRECATED:" tag. Adjust the
documentation in the introspection for IP4Config/IP6Config.
This commit is contained in:
Thomas Haller 2024-01-10 10:43:11 +01:00
parent 6fb4af7300
commit dff7ed3e76
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
2 changed files with 18 additions and 7 deletions

View file

@ -12,7 +12,9 @@
Array of arrays of IPv4 address/prefix/gateway. All 3 elements of each Array of arrays of IPv4 address/prefix/gateway. All 3 elements of each
array are in network byte order. Essentially: [(addr, prefix, gateway), array are in network byte order. Essentially: [(addr, prefix, gateway),
(addr, prefix, gateway), ...] Deprecated: use AddressData and Gateway (addr, prefix, gateway), ...].
DEPRECATED: use AddressData and Gateway
--> -->
<property name="Addresses" type="aau" access="read"/> <property name="Addresses" type="aau" access="read"/>
@ -39,7 +41,9 @@
are in network byte order. 'route' and 'next hop' are IPv4 addresses, are in network byte order. 'route' and 'next hop' are IPv4 addresses,
while prefix and metric are simple unsigned integers. Essentially: while prefix and metric are simple unsigned integers. Essentially:
[(route, prefix, next-hop, metric), (route, prefix, next-hop, metric), [(route, prefix, next-hop, metric), (route, prefix, next-hop, metric),
...] Deprecated: use RouteData ...].
DEPRECATED: use RouteData
--> -->
<property name="Routes" type="aau" access="read"/> <property name="Routes" type="aau" access="read"/>
@ -55,7 +59,9 @@
<!-- <!--
Nameservers: Nameservers:
The nameservers in use. Deprecated: use NameserverData The nameservers in use.
DEPRECATED: use NameserverData
--> -->
<property name="Nameservers" type="au" access="read"/> <property name="Nameservers" type="au" access="read"/>
@ -101,7 +107,9 @@
WinsServers: WinsServers:
The Windows Internet Name Service servers associated with the connection. The Windows Internet Name Service servers associated with the connection.
Each address is in network byte order. Deprecated: use WinsServerData Each address is in network byte order.
DEPRECATED: use WinsServerData
--> -->
<property name="WinsServers" type="au" access="read"/> <property name="WinsServers" type="au" access="read"/>

View file

@ -10,8 +10,9 @@
<!-- <!--
Addresses: Addresses:
Array of tuples of IPv6 address/prefix/gateway. Deprecated: use Array of tuples of IPv6 address/prefix/gateway.
AddressData and Gateway.
DEPRECATED: use AddressData and Gateway.
--> -->
<property name="Addresses" type="a(ayuay)" access="read"/> <property name="Addresses" type="a(ayuay)" access="read"/>
@ -34,7 +35,9 @@
<!-- <!--
Routes: Routes:
Tuples of IPv6 route/prefix/next-hop/metric. Deprecated: use RouteData Tuples of IPv6 route/prefix/next-hop/metric.
DEPRECATED: use RouteData.
--> -->
<property name="Routes" type="a(ayuayu)" access="read"/> <property name="Routes" type="a(ayuayu)" access="read"/>