debian: Automatically start openvswitch before first invocation of ovs-vsctl.
authorGurucharan Shetty <gshetty@nicira.com>
Fri, 11 Jul 2014 21:50:50 +0000 (14:50 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 12 Sep 2014 16:24:50 +0000 (09:24 -0700)
commit7c2041483f649cdef1d93466ac959aaa20cd9d66
treed8192fb5c89f2d776725391be9cbfe0f56ce6305
parentdf7d0747641f7f605280aca5211753806263c181
debian: Automatically start openvswitch before first invocation of ovs-vsctl.

In the 'interfaces' file, if an admin adds the openvswitch interface
in 'auto', ifupdown will try to create OVS interfaces even before
openvswitch has started. In a case like that, assume that the admin
knows what he is doing and try to start openvswitch.

The negatives I see are
1. /usr is NFS mounted, in which case expect the admin
to mount it through initramfs.
2. syslog through network may not be accessible.

This is similar to what rhel does with commit 602453000e28ec10
(rhel: Automatically start openvswitch service before bringing an ovs
interface up or down)

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
debian/ifupdown.sh
debian/openvswitch-switch.README.Debian