From b232b5013f79049b990c847a98e1cee4aa3ded7f Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 10 Oct 2019 10:18:25 +0200 Subject: introspection: deprecate Carrier properties Deprecate the 'Carrier' property present in some Device sub-interfaces in favor of the 'Carrier' flag in the InterfaceFlags property, which is more general as it is available for all interfaces. --- introspection/org.freedesktop.NetworkManager.Device.Adsl.xml | 3 +++ introspection/org.freedesktop.NetworkManager.Device.Bond.xml | 3 +++ introspection/org.freedesktop.NetworkManager.Device.Bridge.xml | 3 +++ introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml | 3 +++ introspection/org.freedesktop.NetworkManager.Device.Team.xml | 3 +++ introspection/org.freedesktop.NetworkManager.Device.Vlan.xml | 3 +++ introspection/org.freedesktop.NetworkManager.Device.Wired.xml | 3 +++ 7 files changed, 21 insertions(+) diff --git a/introspection/org.freedesktop.NetworkManager.Device.Adsl.xml b/introspection/org.freedesktop.NetworkManager.Device.Adsl.xml index ef1f580f06..5bb18aae12 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Adsl.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Adsl.xml @@ -21,6 +21,9 @@ Carrier: Indicates whether the physical carrier is found. + + DEPRECATED: check for the "carrier" flag in the "InterfaceFlags" + property on the "org.freedesktop.NetworkManager.Device" interface. --> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Bond.xml b/introspection/org.freedesktop.NetworkManager.Device.Bond.xml index e3b5574e8c..30421a5450 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Bond.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Bond.xml @@ -19,6 +19,9 @@ Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + DEPRECATED: check for the "lower-up" flag in the "InterfaceFlags" + property on the "org.freedesktop.NetworkManager.Device" interface. --> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Bridge.xml b/introspection/org.freedesktop.NetworkManager.Device.Bridge.xml index 7f2605699d..011805acb0 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Bridge.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Bridge.xml @@ -19,6 +19,9 @@ Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + DEPRECATED: check for the "carrier" flag in the "InterfaceFlags" + property on the "org.freedesktop.NetworkManager.Device" interface. --> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml b/introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml index 26e2694bef..cc03b74b8d 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml @@ -19,6 +19,9 @@ Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + DEPRECATED: check for the "lower-up" flag in the "InterfaceFlags" + property on the "org.freedesktop.NetworkManager.Device" interface. --> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Team.xml b/introspection/org.freedesktop.NetworkManager.Device.Team.xml index 2318dd6fcf..a0caa3992a 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Team.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Team.xml @@ -19,6 +19,9 @@ Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + DEPRECATED: check for the "lower-up" flag in the "InterfaceFlags" + property on the "org.freedesktop.NetworkManager.Device" interface. --> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Vlan.xml b/introspection/org.freedesktop.NetworkManager.Device.Vlan.xml index 75d6ba430b..1bc83fce78 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Vlan.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Vlan.xml @@ -19,6 +19,9 @@ Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + DEPRECATED: check for the "carrier" flag in the "InterfaceFlags" + property on the "org.freedesktop.NetworkManager.Device" interface. --> diff --git a/introspection/org.freedesktop.NetworkManager.Device.Wired.xml b/introspection/org.freedesktop.NetworkManager.Device.Wired.xml index ae709031ba..f62c3f0c3b 100644 --- a/introspection/org.freedesktop.NetworkManager.Device.Wired.xml +++ b/introspection/org.freedesktop.NetworkManager.Device.Wired.xml @@ -41,6 +41,9 @@ Indicates whether the physical carrier is found (e.g. whether a cable is plugged in or not). + + DEPRECATED: check for the "carrier" flag in the "InterfaceFlags" + property on the "org.freedesktop.NetworkManager.Device" interface. --> -- cgit v1.2.1