ovsdb-server: Preserve remotes across crash and restart.
authorBen Pfaff <blp@nicira.com>
Thu, 13 Jun 2013 19:25:39 +0000 (12:25 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 13 Jun 2013 19:34:31 +0000 (12:34 -0700)
commitbb85f9ae20306e6d0a067026766460eacb4c8440
treee75ca00649dc94ab9971e9bd4e9fdd90b035f50e
parent6146d66c1eaa145f787bbf5f39edf1c09401bafd
ovsdb-server: Preserve remotes across crash and restart.

Commit b421d2af0ab (ovsdb-server: Add commands for adding and removing
remotes) made it possible to make ovsdb-server connect to OVS managers only
after ovs-vswitchd has completed its initial configuration.  But this
results in an undesirable effect: whenever ovsdb-server crashes, the
monitor restarts its, but ovsdb-server can no longer connect to the manager
because the remotes were added during runtime and that information is lost
during the crash.

This commit fixes the problem.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ovsdb/ovsdb-server.c
tests/ovsdb-server.at