Interface BGPPeerTracker

  • All Known Implementing Classes:
    BGPPeerTrackerImpl

    public interface BGPPeerTracker
    Tracks Peers under RIB.
    • 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
      • 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