Take our advertized tables into consideration in RibOut 94/80794/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Mar 2019 11:27:55 +0000 (12:27 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 12 Mar 2019 20:03:14 +0000 (20:03 +0000)
commitf262ed171095c190d0dd6b30193de6d3b996a62f
tree8474fba4af3bc777f9fdd0787f04210c6c68c686
parent7f38686b3cb49d133f398ca0dfc9e6becc895068
Take our advertized tables into consideration in RibOut

Asymmetric configuration of peers can end up with us receiving
tables which we do not advertize towards a peer (but still
process them internally).

In such a case we want to limit adj-rib-out to the intersection
of our advertized and peer-advertized tables.

JIRA: BGPCEP-865
Change-Id: I1b8c0a951c2be513841daf3901ef2b530ed87bf3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
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