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:25:39 +0000 (12:25 -0700)
commit5f36127ec6022a124c59566a66e62d643a592057
tree237b07a3c8fad257e5e761df03622ea711eed5f9
parent3cfede14890f1fae3a8faf7ba179018201079dc6
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