BUG-6317 Do not withdraw route when best path has changed 65/43665/2
authorClaudio D. Gasparini <cgaspari@cisco.com>
Mon, 8 Aug 2016 06:17:52 +0000 (08:17 +0200)
committerMilos Fabian <milfabia@cisco.com>
Thu, 11 Aug 2016 06:05:22 +0000 (06:05 +0000)
commite8d32922329dc7e95a14806ba04c15f9c68fa78a
tree6daef0801e97b7104a07f22bf6d380758ba85718
parent9c4dc0905ba4dcbb7b0f24c7797a146bee269095
BUG-6317 Do not withdraw route when best path has changed

Route should be withdrawn only if there is not other
best path which can be announced intead.

Change-Id: Ibc2ae0bf2d05a90e06eae34a12f8e6b98f64fb7c
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
(cherry picked from commit 94f7f6bee9c8467cdd240aac4702c3e49f5306e1)
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/AddPathAbstractRouteEntry.java
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/all/paths/AbstractAllPathsRouteEntry.java
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/add/n/paths/AbstractNPathsRouteEntry.java
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseAbstractRouteEntry.java
bgp/rib-impl/src/main/java/org/opendaylight/controller/config/yang/bgp/rib/impl/BGPPSMImplModule.java