diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2019-10-10 10:18:25 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2019-11-22 10:18:27 +0100 |
commit | b232b5013f79049b990c847a98e1cee4aa3ded7f (patch) | |
tree | e1145a01e3b199e33f899d7afffb8f0058b1c941 /introspection | |
parent | 2b7def052f8745357ab0933b3bbc32d8aff4d2a3 (diff) | |
download | NetworkManager-b232b5013f79049b990c847a98e1cee4aa3ded7f.tar.gz |
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.
Diffstat (limited to 'introspection')
7 files changed, 21 insertions, 0 deletions
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. --> <property name="Carrier" type="b" access="read"/> </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. --> <property name="Carrier" type="b" access="read"/> 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. --> <property name="Carrier" type="b" access="read"/> 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. --> <property name="Carrier" type="b" access="read"/> 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. --> <property name="Carrier" type="b" access="read"/> 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. --> <property name="Carrier" type="b" access="read"/> 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. --> <property name="Carrier" type="b" access="read"/> |