From: Andres Toomsalu Date: Wed, 28 Nov 2012 12:38:29 +0000 (+0200) Subject: Added RHEL ovs-ifup STP option handling X-Git-Tag: sliver-openvswitch-1.9.90-3~10^2~101 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=2517bad92eec7e5625bc8b248db22fdeaa5fcde9;p=sliver-openvswitch.git Added RHEL ovs-ifup STP option handling Signed-off-by: Andres Toomsalu Signed-off-by: Ben Pfaff --- diff --git a/rhel/etc_sysconfig_network-scripts_ifup-ovs b/rhel/etc_sysconfig_network-scripts_ifup-ovs index c42787903..b6ccf56c4 100755 --- a/rhel/etc_sysconfig_network-scripts_ifup-ovs +++ b/rhel/etc_sysconfig_network-scripts_ifup-ovs @@ -47,6 +47,7 @@ case "$TYPE" in if [ "${OVSBOOTPROTO}" != "dhcp" ] && [ -z "${OVSINTF}" ]; then ${OTHERSCRIPT} ${CONFIG} fi + [ -n "${STP}" ] && ovs-vsctl --no-wait set bridge "${DEVICE}" stp_enable="${STP}" ;; OVSPort) /sbin/ifup "$OVS_BRIDGE"