OVSDB-432: Add method to restart OVSDB server and limit retry times and timeout 90/63890/6
authorHsin-Yi Shen <syshen66@gmail.com>
Mon, 25 Sep 2017 21:53:47 +0000 (17:53 -0400)
committerAnil Vishnoi <vishnoianil@gmail.com>
Tue, 31 Oct 2017 00:27:32 +0000 (00:27 +0000)
commit5f93ebfd669371e7f0478142058da0d714416f4a
tree4ea7684d9bd30c7cd1448e0aa7916d55ead570b2
parent3a72a043751d5135830c8fa0d86a82334fb7084d
OVSDB-432: Add method to restart OVSDB server and limit retry times and timeout

This patch makes following changes:
1. Add restart method to restart OVSDB server. User wiil be able
   to restart OVSDB server with different sets of SSL protocol
   and cipher suites.
2. Limit retry times for certain SSL handshake status. In current
   code, it retry infinite times for some SSL handshake status
   and cause issue. This patch will fix it.
3. Add API in OvsdbClient interface to provide custom timeout value for
   monitor and cancel monitor transactions. This avoids
   blocking thread due to unsuccessful transaction.
4. Fix typo in Function.java

Change-Id: I4f07e2f32889099e65a06a3afc4a263714dd5946
Signed-off-by: Hsin-Yi Shen <syshen66@gmail.com>
library/impl/src/main/java/org/opendaylight/ovsdb/lib/OvsdbClient.java
library/impl/src/main/java/org/opendaylight/ovsdb/lib/OvsdbConnection.java
library/impl/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbClientImpl.java
library/impl/src/main/java/org/opendaylight/ovsdb/lib/impl/OvsdbConnectionService.java
library/impl/src/main/java/org/opendaylight/ovsdb/lib/jsonrpc/JsonRpcEndpoint.java
library/impl/src/main/java/org/opendaylight/ovsdb/lib/notation/Function.java