From: Pravin B Shelar <pshelar@nicira.com>
Date: Thu, 27 Dec 2012 21:30:59 +0000 (-0800)
Subject: brcompat: Mark ovs-brcompat as deprecated.
X-Git-Tag: sliver-openvswitch-1.9.90-3~10^2~61
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a8643e447601201aabd1159966bd716e48378f97;p=sliver-openvswitch.git

brcompat: Mark ovs-brcompat as deprecated.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
bug #14341
---

diff --git a/NEWS b/NEWS
index 2f8fbde7e..e07dac8a4 100644
--- a/NEWS
+++ b/NEWS
@@ -67,6 +67,7 @@ v1.9.0 - xx xxx xxxx
     - The following features are now deprecated.  They will be removed no
       earlier than February 2013.  Please email dev@openvswitch.org with
       concerns.
+        - Bridge compatibility.
         - Stable bond mode.
         - The autopath action.
         - Interface type "null".
diff --git a/debian/changelog b/debian/changelog
index 9ec352a2d..41c3b94e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,7 @@ openvswitch (1.9.0-1) unstable; urgency=low
     - The following features are now deprecated.  They will be removed no
       earlier than February 2013.  Please email dev@openvswitch.org with
       concerns.
+        - Bridge compatibility.
         - Stable bond mode.
         - The autopath action.
         - Interface type "null".
diff --git a/vswitchd/ovs-brcompatd.8.in b/vswitchd/ovs-brcompatd.8.in
index fdce0428e..1ba4a21f5 100644
--- a/vswitchd/ovs-brcompatd.8.in
+++ b/vswitchd/ovs-brcompatd.8.in
@@ -13,6 +13,7 @@ A daemon that provides a legacy bridge front-end for \fBovs\-vswitchd\fR.  It
 does this by listening for bridge ioctl commands (e.g., those generated by
 the \fBbrctl\fR program) to add or remove datapaths and the interfaces
 that attach to them.
+This feature is deprecated and will be removed no earlier than February 2013.
 .PP
 .SH OPTIONS
 .IP "\fB\-\-appctl=\fIprogram\fR"
diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c
index df9332f3a..f98d3f577 100644
--- a/vswitchd/ovs-brcompatd.c
+++ b/vswitchd/ovs-brcompatd.c
@@ -805,6 +805,8 @@ main(int argc, char *argv[])
     set_program_name(argv[0]);
     vlog_set_levels(&VLM_reconnect, VLF_ANY_FACILITY, VLL_WARN);
 
+    VLOG_WARN("Bridge compatibility is deprecated and may be removed "
+              "no earlier than February 2013");
     parse_options(argc, argv);
     signal(SIGPIPE, SIG_IGN);
     process_init();