[ovs-dev] [deprecation_v2 1/2] bond: Deprecate stable bonds.

Ethan Jackson ethan at nicira.com
Mon Aug 20 18:16:05 UTC 2012


The stable bond mode is an obsolete attempt to replicate the
functionality contained in the bundle action.  They are ugly and of
questionable usefulness.  This patch deprecates them and schedules
their removal for February 2013.  If there are concerns, please
email dev at openvswitch.org.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
 NEWS       | 2 ++
 lib/bond.c | 6 ++++++
 2 files changed, 8 insertions(+)

diff --git a/NEWS b/NEWS
index 54a7114..ac12b5d 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,8 @@ post-v1.8.0
       are true, but because we do not know of any users for this
       feature it seems better on balance to remove it.  (The ovs-pki-cgi
       program was not included in distribution packaging.)
+    - Stable bond mode is deprecated and will be removed no earlier than
+      February 2013.  Please email dev at openvswitch.org with concerns.
 
 
 v1.8.0 - xx xxx xxxx
diff --git a/lib/bond.c b/lib/bond.c
index 7178416..aa3c401 100644
--- a/lib/bond.c
+++ b/lib/bond.c
@@ -255,6 +255,12 @@ bond_reconfigure(struct bond *bond, const struct bond_settings *s)
     if (bond->balance != s->balance) {
         bond->balance = s->balance;
         revalidate = true;
+
+        if (bond->balance == BM_STABLE) {
+            VLOG_WARN_ONCE("Stable bond mode is deprecated and may be removed"
+                           " in February 2013. Please email"
+                           " dev at openvswitch.org with concerns.");
+        }
     }
 
     if (bond->basis != s->basis) {
-- 
1.7.11.4




More information about the dev mailing list