aboutsummaryrefslogtreecommitdiff
path: root/rhel/etc_init.d_openvswitch
diff options
context:
space:
mode:
authorTyler Coumbes <coumbes@gmail.com>2011-11-14 09:08:03 -0800
committerBen Pfaff <blp@nicira.com>2011-11-14 09:08:13 -0800
commit279320b8276011df3667478de6750d5a40d0c6eb (patch)
tree5fcfbf4c15a055d00f650a9abbbc6c58d545875e /rhel/etc_init.d_openvswitch
parente9b14f9f010f365083b92336c579e68d581272dc (diff)
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.
Diffstat (limited to 'rhel/etc_init.d_openvswitch')
-rwxr-xr-xrhel/etc_init.d_openvswitch3
1 files changed, 3 insertions, 0 deletions
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