OVSDB-439 Stale connection check 03/71303/12
authorK.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
Wed, 25 Apr 2018 10:07:39 +0000 (15:37 +0530)
committerVishal Thapar <vthapar@redhat.com>
Fri, 6 Jul 2018 02:05:43 +0000 (02:05 +0000)
commitd68487445a6f9f3f54040af9277c6979f511d10e
tree29807fafbe270786a2a0c4b5f8006d84e07b86f5
parente516b2b2fbaa7f950a82fe20dbd845e11fb68b79
OVSDB-439 Stale connection check

if old client echo succeeds
   do not notify new client as it has to wait
else
   if all old clients got disconnected notify the new client

if new client gets disconnected remove it from pending clients

JIRA: OVSDB-439
JIRA: OVSDB-462
Change-Id: Id3cd37559825d7f0ef58331bfbd4757eae41d253
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
library/impl/pom.xml
library/impl/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbConnectionService.java
library/impl/src/main/java/org/opendaylight/ovsdb/lib/impl/StalePassiveConnectionService.java
library/impl/src/test/java/org/opendaylight/ovsdb/lib/StalePassiveConnectionServiceTest.java [new file with mode: 0644]