diff options
author | Andres Toomsalu <andres@active.ee> | 2012-11-28 14:38:29 +0200 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-12-08 10:47:55 -0800 |
commit | 2517bad92eec7e5625bc8b248db22fdeaa5fcde9 (patch) | |
tree | 909542a54d7bfa656d0fea37e6cf66a712108d87 /rhel/etc_sysconfig_network-scripts_ifup-ovs | |
parent | e1cfc4e4612594746483dbe82607b1ba339b5b6c (diff) | |
download | openvswitch-2517bad92eec7e5625bc8b248db22fdeaa5fcde9.tar.gz |
Added RHEL ovs-ifup STP option handling
Signed-off-by: Andres Toomsalu <andres@active.ee>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'rhel/etc_sysconfig_network-scripts_ifup-ovs')
-rwxr-xr-x | rhel/etc_sysconfig_network-scripts_ifup-ovs | 1 |
1 files changed, 1 insertions, 0 deletions
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" |