Use only our advertized tables to send routes 25/81025/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 15 Mar 2019 06:11:49 +0000 (07:11 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 20 Mar 2019 09:29:37 +0000 (09:29 +0000)
commit826f795a84afc9565e91d2811e7d8fd60294fae3
tree47bd1a60bff6dffcbe231248a5bed8cb6699eeb3
parent0327cfcbe7e7318a9c016e036de0af4bcc72681d
Use only our advertized tables to send routes

Previous fix used intersection of advertizements, which is not
accurate: if the peer accepts our proposal, we should be sending
all advertizements, allowing asymmetric setups to work correctly.

JIRA: BGPCEP-862
Change-Id: Ie01f2905d76989093b8914fcd08c7a628fa4686a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit cafc68569a1d8eb3b4997cc7a21de8a3a2d44034)
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPPeer.java
bgp/rib-spi/src/main/java/org/opendaylight/protocol/bgp/rib/spi/PeerTrackerInformation.java