xenserver: Don't start OVS if network.conf isn't "openvswitch"
authorJustin Pettit <jpettit@nicira.com>
Tue, 8 Jun 2010 06:17:26 +0000 (23:17 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 8 Jun 2010 17:55:07 +0000 (10:55 -0700)
commit697e8aa22f27beb60b524b658e5ee757ef48a0ca
tree7903572a92d80616fb11759a1dde1d94b7f2715a
parentc2e01f64e7ed6c0c0ae0a160daf3f2704f43bad8
xenserver: Don't start OVS if network.conf isn't "openvswitch"

The OVS processes would start as long as "/etc/xensource/network.conf"
didn't contain "bridge".  The other OVS scripts, however, would complain
(and not run) if it wasn't "vswitch" or "openvswitch".  This commit will
only start the OVS processes if a value of "vswitch" or "openvswitch" is
present, so some consistency is provided.

(If "/etc/xensource/network.conf" is not "bridge", "vswitch", or
"openvswitch", then XAPI will refuse to run anyway, so not much is going
to happen on the system.)
xenserver/etc_init.d_openvswitch