Interface BGPPeerTracker
- All Known Implementing Classes:
BGPPeerTrackerImpl
public interface BGPPeerTracker
Tracks Peers under RIB.
-
Method Summary
Modifier and TypeMethodDescriptionReturns map of PeerId per PeerRole, filtering internal Peers.@Nullable Peer
Returns Peer.getPeers()
Returns map of PeerId per PeerRole.org.opendaylight.yangtools.concepts.Registration
registerPeer
(@NonNull Peer peer) Register Peer.
-
Method Details
-
registerPeer
Register Peer.- Parameters:
peer
- Peer- Returns:
- registration tickets
-
getPeer
Returns Peer.- Parameters:
peerId
- peer ID- Returns:
- Peer
-
getPeers
Returns map of PeerId per PeerRole. Role with none peerId will be filtered.- Returns:
- Returns map of Peer group by PeerRole
-
getNonInternalPeers
Returns map of PeerId per PeerRole, filtering internal Peers. Role with none peerId will be filtered.- Returns:
- Returns map of Peer group by PeerRole
-