git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e1cfc4e
)
Added RHEL ovs-ifup STP option handling
author
Andres Toomsalu
<andres@active.ee>
Wed, 28 Nov 2012 12:38:29 +0000
(14:38 +0200)
committer
Ben Pfaff
<blp@nicira.com>
Sat, 8 Dec 2012 18:47:55 +0000
(10:47 -0800)
Signed-off-by: Andres Toomsalu <andres@active.ee>
Signed-off-by: Ben Pfaff <blp@nicira.com>
rhel/etc_sysconfig_network-scripts_ifup-ovs
patch
|
blob
|
history
diff --git
a/rhel/etc_sysconfig_network-scripts_ifup-ovs
b/rhel/etc_sysconfig_network-scripts_ifup-ovs
index
c427879
..
b6ccf56
100755
(executable)
--- 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
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"
;;
OVSPort)
/sbin/ifup "$OVS_BRIDGE"