]> git.proxmox.com Git - ovs.git/commit
ovn-controller: Honor updates to SSL configuration while waiting for SB DB.
authorBen Pfaff <blp@ovn.org>
Mon, 18 Jun 2018 18:36:50 +0000 (11:36 -0700)
committerBen Pfaff <blp@ovn.org>
Thu, 4 Oct 2018 20:20:12 +0000 (13:20 -0700)
commitf827c57486fc76f7b02fcd908640f63e0ffdf22a
treeeb01ac8150a6e1ec8487751026cbf9aaacd754ab
parent5e07b8f93f036e5502a045777372435b81361bea
ovn-controller: Honor updates to SSL configuration while waiting for SB DB.

At startup time, ovn-controller connects to the OVS database and retrieves
a pointer to the southbound database, then connects to the southbound
database and retrieves a snapshot.  Until now, however, it didn't pay
attention to changes in the OVS database while trying to retrieve the
southbound database, which meant that if the SSL settings changed,
ovn-controller would continue to use the old ones, which probably wouldn't
work.

Also honor changes to the remote for the southbound database while waiting
to connect to it.

Most of the changes in this commit are whitespace only indentation changes,
so passing -w to "git show" (etc.) make it easier to understand.

Reported-by: Dan Williams <dcbw@redhat.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/144
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/controller/ovn-controller.c