OVSDB-449 Fixes loading keystores dynamically per connection 38/70038/4
authorTim Rozet <trozet@redhat.com>
Fri, 23 Mar 2018 18:23:40 +0000 (14:23 -0400)
committerStephen Kitt <skitt@redhat.com>
Sun, 25 Mar 2018 21:41:10 +0000 (21:41 +0000)
commite4a170988175b98e2411782f2a85b63edb64d4cf
tree0a687f0adf190305b6e2990f0cd01b95a00ee023
parent3c8465d1e5c28bdc4da1e61aab2b8c40b40d4701
OVSDB-449 Fixes loading keystores dynamically per connection

Currently when OVSDB manager is started with SSL, the SSL Context is
only fetched once, which inherently means the keystores are only read
that one time.  This patch changes the behavior so that the SSL Context
is fetched everytime a new connection is opened, which in turn will
update the keystore data.

Change-Id: Iaafbd34afcb5f4708b48eb3d64eca14ef0a107e8
Signed-off-by: Tim Rozet <trozet@redhat.com>
library/impl/src/main/java/org/opendaylight/ovsdb/lib/OvsdbConnection.java
library/impl/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbConnectionService.java