If the daemon(s) aren't running for whatever reason, the RHEL ovs
ifup/ifdown scripts don't take that into account and an attempt to reboot a
system could take forever. (literally. endless loop!)  Here are a couple of
patches (one of ifup, one for ifdown) to add timeouts (10 seconds), because
it runs per interface you have configured and that could take awhile to
reboot a system if needed.

Files modified:

openvswitch-1.4.1/rhel/etc_sysconfig_network-scripts_ifdown-ovs
openvswitch-1.4.1/rhel/etc_sysconfig_network-scripts_ifup-ovs

Note: These are tested, with the exception of bonding as I don't have a
system handy with both network connections, but I followed the working
format I used on the others and they work fine.

-b

Attachment: etc_sysconfig_network-scripts_ifdown-ovs.patch
Description: Binary data

Attachment: etc_sysconfig_network-scripts_ifup-ovs.patch
Description: Binary data

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to