ovs-ctl.in: Don't stop forwarding while restarting the database.
authorJustin Pettit <jpettit@nicira.com>
Thu, 26 Jul 2012 16:41:24 +0000 (09:41 -0700)
committerJustin Pettit <jpettit@nicira.com>
Mon, 30 Jul 2012 22:47:43 +0000 (15:47 -0700)
commit522839ab75d981d7a4e63b99dc8438157982f4ba
treef8c9c95ea37d7085615104c22100e1b8b55bfefd
parentc707d418149a343be49b472322be0bd5c0afb036
ovs-ctl.in: Don't stop forwarding while restarting the database.

Previously, the force-reload-kmod command would stop forwarding, stop
the database, restart the database, and then restart forwarding.  If the
database is large, it can take a while to be read (we've seen as much as
10 seconds), which means the switch is not forwarding traffic during
that time.

This change stops and starts the database before restarting the
forwarding path.  This means that ovs-vswitchd will lose its
connectivity to the database during a force-reload-kmod, but while it
will complain a little in the logs, it will continue to operate
properly.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
Feature #12643
utilities/ovs-ctl.in