Take our advertized tables into consideration in RibOut 91/80791/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Mar 2019 11:27:55 +0000 (12:27 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 12 Mar 2019 12:33:59 +0000 (13:33 +0100)
commitd2a28b902d71b3f328f1ad9ee772e90a40a1d2d5
tree54b5fc870481304ee5858f00318a945ab1b3ea83
parente0efdfcbe7ec19adfe9ece802aca730a67a155ae
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