Interface BGPPeerTracker

All Known Implementing Classes:
BGPPeerTrackerImpl

public interface BGPPeerTracker
Tracks Peers under RIB.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull List<Peer>
    Returns map of PeerId per PeerRole, filtering internal Peers.
    @Nullable Peer
    getPeer(@NonNull PeerId peerId)
    Returns Peer.
    @NonNull List<Peer>
    Returns map of PeerId per PeerRole.
    org.opendaylight.yangtools.concepts.Registration
    registerPeer(@NonNull Peer peer)
    Register Peer.
  • Method Details

    • 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
    • getNonInternalPeers

      @NonNull List<Peer> 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