BUG-6651: Route Advertisement improvement 45/45345/2
authorClaudio D. Gasparini <cgaspari@cisco.com>
Tue, 6 Sep 2016 16:35:56 +0000 (18:35 +0200)
committerMilos Fabian <milfabia@cisco.com>
Fri, 16 Sep 2016 17:22:29 +0000 (17:22 +0000)
commit1a0e802ab3309d33f66d656958190adb56474947
tree7be85ab966485bff9f0ef937d0cb62c899bfb2d5
parent2c12dc91d058962e36f752062e993274f6794bd2
BUG-6651:  Route Advertisement improvement

When N/All Paths
-advertise only the new best path selected.
When Best Paths selected are updated
-Don't send a withdrawal for removed path from the best ones.
-Only send thew withdrawal when route is removed by owner

Change-Id: Ia5051ac97e26cfe7cf9f28a5bc6ddb21cf87670a
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
(cherry picked from commit 2193f98741659d1bf7cb77fde78cf685bfa091b5)
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