Reduce NETCONF device disconnect warnings 14/97214/2
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 14 Aug 2021 12:26:57 +0000 (14:26 +0200)
committerTomas Cere <tomas.cere@pantheon.tech>
Tue, 17 Aug 2021 07:28:04 +0000 (07:28 +0000)
commit6314d686b918668f1b168996af157cb3960c0e7d
tree5372e9f9a7bc7a3dd690fc008f7985e7d4c2cdf9
parentfaa28c0f9b2085dd9087365a8ab446613bbc53f8
Reduce NETCONF device disconnect warnings

Document java.io.EOFException as the natural end-of-stream cause and
handle that case with less alarm as other causes.

JIRA: NETCONF-805
Change-Id: If3b07125434e2a5faec90b1cd0144dc3d9f6c818
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-api/src/main/java/org/opendaylight/netconf/api/NetconfSessionListener.java
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSession.java
netconf/netconf-netty-util/src/test/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionTest.java
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/listener/NetconfDeviceCommunicator.java