diff options
author | Antonio Cardace <acardace@redhat.com> | 2020-03-05 18:56:07 +0100 |
---|---|---|
committer | Antonio Cardace <acardace@redhat.com> | 2020-03-13 10:22:21 +0100 |
commit | 067a3d6c08615eadf55941dec266c7396d823f66 (patch) | |
tree | 348d436a6cf08f8bc1f43c496ddf5f5eb2f18883 /introspection | |
parent | cbb45aaf909b53db6eb5cff208a4e08fde699041 (diff) | |
download | NetworkManager-067a3d6c08615eadf55941dec266c7396d823f66.tar.gz |
nm-device: expose via D-Bus the 'hw-address' property
Drop device-specific 'hw-address' GObject properties which are now
redundant.
https://bugzilla.redhat.com/show_bug.cgi?id=1786937
Diffstat (limited to 'introspection')
17 files changed, 43 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.Device.Bluetooth.xml b/introspection/org.freedesktop.NetworkManager.Device.Bluetooth.xml index 43a3047c1e..1f5e618975 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Bluetooth.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Bluetooth.xml @@ -11,6 +11,8 @@ HwAddress: Bluetooth hardware address of the device. + + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Bond.xml b/introspection/org.freedesktop.NetworkManager.Device.Bond.xml index 30421a5450..c7ccf38998 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Bond.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Bond.xml @@ -11,6 +11,8 @@ HwAddress: Hardware address of the device. +n + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Bridge.xml b/introspection/org.freedesktop.NetworkManager.Device.Bridge.xml index 011805acb0..5a35f54dd1 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Bridge.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Bridge.xml @@ -11,6 +11,8 @@ HwAddress: Hardware address of the device. +n + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Dummy.xml b/introspection/org.freedesktop.NetworkManager.Device.Dummy.xml index ce87693fb9..2c5675e8ae 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Dummy.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Dummy.xml @@ -11,6 +11,8 @@ HwAddress: Hardware address of the device. +n + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Generic.xml b/introspection/org.freedesktop.NetworkManager.Device.Generic.xml index ecbfed6895..b847018be4 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Generic.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Generic.xml @@ -11,6 +11,8 @@ HwAddress: Hardware address of the device. +n + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml b/introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml index cc03b74b8d..53f71486df 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml @@ -11,6 +11,8 @@ HwAddress: Hardware address of the device. +n + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml b/introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml index c0317be6c3..3415f18510 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Lowpan.xml @@ -11,6 +11,8 @@ HwAddress: The active hardware address of the device. + + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.OlpcMesh.xml b/introspection/org.freedesktop.NetworkManager.Device.OlpcMesh.xml index 0e54403d8f..3ae7ea961d 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.OlpcMesh.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.OlpcMesh.xml @@ -11,6 +11,8 @@ HwAddress: The hardware address of the device. + + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Team.xml b/introspection/org.freedesktop.NetworkManager.Device.Team.xml index a0caa3992a..0a4c72122d 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Team.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Team.xml @@ -11,6 +11,8 @@ HwAddress: Hardware address of the device. +n + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Tun.xml b/introspection/org.freedesktop.NetworkManager.Device.Tun.xml index 9dc4661a99..97bf5848cd 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Tun.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Tun.xml @@ -56,6 +56,8 @@ HwAddress: Hardware address of the device. +n + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Vlan.xml b/introspection/org.freedesktop.NetworkManager.Device.Vlan.xml index 1bc83fce78..b63194ec66 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Vlan.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Vlan.xml @@ -11,6 +11,8 @@ HwAddress: Hardware address of the device. +n + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Vxlan.xml b/introspection/org.freedesktop.NetworkManager.Device.Vxlan.xml index 52b59cc514..035ca09b94 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Vxlan.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Vxlan.xml @@ -19,6 +19,8 @@ HwAddress: Hardware address of the device. +n + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml b/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml index 40e6fdbb65..9e74eb6e56 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.WifiP2P.xml @@ -14,6 +14,8 @@ The active hardware address of the device. + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. + Since: 1.16 --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Wired.xml b/introspection/org.freedesktop.NetworkManager.Device.Wired.xml index f62c3f0c3b..c501091951 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Wired.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Wired.xml @@ -12,6 +12,8 @@ HwAddress: Active hardware address of the device. + + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml b/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml index af54408816..d9af0964ec 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Wireless.xml @@ -46,6 +46,8 @@ HwAddress: The active hardware address of the device. + + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Wpan.xml b/introspection/org.freedesktop.NetworkManager.Device.Wpan.xml index 32bc6f95d4..1591ce81f6 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Wpan.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Wpan.xml @@ -11,6 +11,8 @@ HwAddress: The active hardware address of the device. + + DEPRECATED. Use the "HwAddress" property in "org.freedesktop.NetworkManager.Device" instead which exists since version NetworkManager 1.24.0. --> <property name="HwAddress" type="s" access="read"/> diff --git a/introspection/org.freedesktop.NetworkManager.Device.xml b/introspection/org.freedesktop.NetworkManager.Device.xml index ca9dd8d758..e82770fc64 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.xml @@ -290,6 +290,17 @@ <property name="InterfaceFlags" type="u" access="read"/> <!-- + HwAddress: + + The hardware address of the device. + + This replaces the other 'HwAddress' properties on the device-specific D-Bus interfaces. + + Since: 1.24 + --> + <property name="HwAddress" type="s" access="read"/> + + <!-- Reapply: @connection: The optional connection settings that will be reapplied on the device. If empty, the currently active settings-connection will be used. The connection cannot arbitrarly differ from the current applied-connection otherwise the call will fail. Only certain changes are supported, like adding or removing IP addresses. @version_id: If non-zero, the current version id of the applied-connection must match. The current version id can be retrieved via GetAppliedConnection. This optional argument allows to catch concurrent modifications between the GetAppliedConnection call and Reapply. |