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>
Tue, 15 Jul 2014 22:05:54 +0000 (15:05 -0700)
commit9a8b5cc1a3d941c0e33f3f5b5ac260a35a8130af
tree11ab09895d10b0c7cf6a28ccdfbcd31dad08748f
parent5b245e73d61eddc985180888f6044a1029f148a5
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