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