summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2019-10-10 10:18:25 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2019-11-12 13:48:50 +0100
commit6cb226bc7fbabf3c2217337cae6db9dd167fe133 (patch)
treeb8221633792a35ea73a0f5734734ba60c58749ef
parent0d47dfaa256241b5853213cb78bfce6ec7d81c2e (diff)
downloadNetworkManager-bg/carrier-rh1722024.tar.gz
introspection: deprecate Carrier propertiesbg/carrier-rh1722024
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.
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.Adsl.xml3
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.Bond.xml3
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.Bridge.xml3
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.Infiniband.xml3
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.Team.xml3
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.Vlan.xml3
-rw-r--r--introspection/org.freedesktop.NetworkManager.Device.Wired.xml3
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"/>