rhel: Add ability to enable bridge compatibility mode in /etc/sysconfig/openvswitch
authorTyler Coumbes <coumbes@gmail.com>
Mon, 14 Nov 2011 17:08:03 +0000 (09:08 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 14 Nov 2011 17:08:13 +0000 (09:08 -0800)
Add the ability to enable bridge compatibility mode through BRCOMPAT
variable in /etc/sysconfig/openvswitch for the rhel build. When
BRCOMPAT is set to 'yes' the brcompat_mod will be loaded and
ovs-brcompatd daemon will be started.

AUTHORS
rhel/etc_init.d_openvswitch
rhel/usr_share_openvswitch_scripts_sysconfig.template

diff --git a/AUTHORS b/AUTHORS
index 645596a..4d10e86 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -41,6 +41,7 @@ Thomas Lacroix          thomas.lacroix@citrix.com
 Todd Deshane            deshantm@gmail.com
 Tom Everman             teverman@google.com
 Tsvi Slonim             tsvi@toroki.com
+Tyler Coumbes           coumbes@gmail.com
 Valient Gough           vgough@pobox.com
 Vivien Bernet-Rollande  vbr@soprive.net
 Wei Yongjun             yjwei@cn.fujitsu.com
@@ -105,7 +106,6 @@ Srini Seetharaman       seethara@stanford.edu
 Stephen Hemminger       shemminger@vyatta.com
 Takayuki HAMA           t-hama@cb.jp.nec.com
 Teemu Koponen           koponen@nicira.com
-Tyler Coumbes           coumbes@gmail.com
 Vishal Swarankar        vishal.swarnkar@gmail.com
 Voravit T.              voravit@kth.se
 YAMAMOTO Takashi        yamamoto@valinux.co.jp
index 5501d18..f1a34c7 100755 (executable)
@@ -45,6 +45,9 @@ start () {
     if test X"$VSWITCHD_MLOCKALL" != X; then
        set "$@" --mlockall="$VSWITCHD_MLOCKALL"
     fi
+    if test X"$BRCOMPAT" = Xyes; then
+       set "$@" --brcompat
+    fi
     "$@"
 
     $ovs_ctl --protocol=gre enable-protocol
index 26543af..257fc82 100644 (file)
@@ -18,3 +18,6 @@
 #     system memory pressure in extraordinary situations, such as multiple
 #     concurrent VM import operations.
 # VSWITCHD_MLOCKALL=yes
+
+# BRCOMPAT: If 'yes' compatibility mode will be enabled.
+# BRCOMPAT=yes