Guard against torn down peer 60/80760/2
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 11 Mar 2019 10:04:32 +0000 (11:04 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 11 Mar 2019 10:49:45 +0000 (10:49 +0000)
commitf052561fe44c6054c6855820ce87bbadee4dd5fd
tree597ae7aa04c3dbb22e6e6603f4eeb3ef4236412f
parent54fd79337a3408a249a87a5a90153a5aabe193f6
Guard against torn down peer

When we fail to look up peer we should not be throwing a NPE, as we
will end up with inconsistent TransactionChain.

Change-Id: Ia662d4fcb777cce5323fbad820466c9350ec039b
JIRA: BGPCEP-863
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/BGPRouteEntryExportParametersImpl.java
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/AbstractPeer.java