From: Tyler Coumbes Date: Mon, 14 Nov 2011 17:08:03 +0000 (-0800) Subject: rhel: Add ability to enable bridge compatibility mode in /etc/sysconfig/openvswitch X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=279320b8276011df3667478de6750d5a40d0c6eb;p=openvswitch rhel: Add ability to enable bridge compatibility mode in /etc/sysconfig/openvswitch 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. --- diff --git a/AUTHORS b/AUTHORS index 645596a4..4d10e868 100644 --- 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 diff --git a/rhel/etc_init.d_openvswitch b/rhel/etc_init.d_openvswitch index 5501d188..f1a34c7a 100755 --- a/rhel/etc_init.d_openvswitch +++ b/rhel/etc_init.d_openvswitch @@ -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 diff --git a/rhel/usr_share_openvswitch_scripts_sysconfig.template b/rhel/usr_share_openvswitch_scripts_sysconfig.template index 26543af1..257fc823 100644 --- a/rhel/usr_share_openvswitch_scripts_sysconfig.template +++ b/rhel/usr_share_openvswitch_scripts_sysconfig.template @@ -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