BUG-9079 Make PCEP session recoverable from exception 72/62472/14
authorKevin Wang <kevixw@gmail.com>
Wed, 30 Aug 2017 22:46:39 +0000 (15:46 -0700)
committerKevin Wang <kevixw@gmail.com>
Mon, 23 Oct 2017 21:10:35 +0000 (14:10 -0700)
commit004a235ef03cf72dd39e91a2085fa94fd5c1c80d
tree365faa9a034eafd3f84bb3e6ce9294907bc192fe
parenta41ee3138b4eaf27b2f806807ff50ed4258ed2e5
BUG-9079 Make PCEP session recoverable from exception

This patch makes PCEP session recoverable from any netty exception.
Whenever an exception happens, PCEP session will be closed. So it
will be at a clean state when the next session retry comes.

Change-Id: I38a983c44519fd5c12cb9cd0da09fa14c4177ac7
Signed-off-by: Kevin Wang <kevixw@gmail.com>
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/PCEPSessionImpl.java
pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/PCEPSessionImplTest.java
pcep/impl/src/test/java/org/opendaylight/protocol/pcep/impl/SimpleSessionListener.java