BGPCEP-724 Make BGP Session recoverable 49/67449/1
authorKevin Wang <kevixw@gmail.com>
Mon, 11 Dec 2017 21:58:17 +0000 (13:58 -0800)
committerKevin Wang <kevixw@gmail.com>
Mon, 22 Jan 2018 23:58:31 +0000 (15:58 -0800)
commit4bd353d42377c0ec06300686ed348adf5e816ad8
tree4fc92da3a7f1ab9fbd45c14380640afdf2c4890a
parent8ab787d486317d9a02724f269196195b605713dd
BGPCEP-724 Make BGP Session recoverable

This patch make BGP Session recoverable when anything wrong
happens during netty session negotiation. When an exception
is captured, the BGP session will be terminated.

Change-Id: Id3fc7ec282a2151e3bd6bdbfa8930e141b3ceaff
Signed-off-by: Kevin Wang <kevixw@gmail.com>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPSessionImpl.java
bgp/rib-impl/src/test/java/org/opendaylight/protocol/bgp/rib/impl/BGPSessionImplTest.java
bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/BGPTerminationReason.java