BUG-372 Add reconnecting to netconf-connector for unexpected 44/7044/2
authorMaros Marsalek <mmarsale@cisco.com>
Tue, 13 May 2014 14:10:59 +0000 (16:10 +0200)
committerEd Warnicke <eaw@cisco.com>
Thu, 15 May 2014 20:38:05 +0000 (15:38 -0500)
commit6df12fa22ddb267bf3b3e948eb3f7b6246a18cb6
tree8fba90239cb7c45553a87da535e05614bb8814d8
parent69101d79c57eeb3e84190009598790f71e460b98
BUG-372 Add reconnecting to netconf-connector for unexpected

session drop

Netconf connector will reattempt connection if the session to remote device is dropped.
Increase sleep factor in netconf connector from 1.0 to 1.5.
This prevents connection attempt every second in case remote device is not comming back for longer time.
Connection attempts span increases gradually.

Change-Id: Icc4b993942e9cc6897c0da858eb867afa4c8aa87
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/config/yang/md/sal/connector/netconf/NetconfConnectorModule.java
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NetconfDevice.java