Class BGPPeerTrackerImpl

java.lang.Object
org.opendaylight.protocol.bgp.rib.impl.BGPPeerTrackerImpl
All Implemented Interfaces:
BGPPeerTracker

public final class BGPPeerTrackerImpl extends Object implements BGPPeerTracker
  • Constructor Details

    • BGPPeerTrackerImpl

      public BGPPeerTrackerImpl()
  • Method Details

    • registerPeer

      public org.opendaylight.yangtools.concepts.Registration registerPeer(Peer peer)
      Description copied from interface: BGPPeerTracker
      Register Peer.
      Specified by:
      registerPeer in interface BGPPeerTracker
      Parameters:
      peer - Peer
      Returns:
      registration tickets
    • getPeer

      public Peer getPeer(PeerId peerId)
      Description copied from interface: BGPPeerTracker
      Returns Peer.
      Specified by:
      getPeer in interface BGPPeerTracker
      Parameters:
      peerId - peer ID
      Returns:
      Peer
    • getPeers

      public List<Peer> getPeers()
      Description copied from interface: BGPPeerTracker
      Returns map of PeerId per PeerRole. Role with none peerId will be filtered.
      Specified by:
      getPeers in interface BGPPeerTracker
      Returns:
      Returns map of Peer group by PeerRole
    • getNonInternalPeers

      public List<Peer> getNonInternalPeers()
      Description copied from interface: BGPPeerTracker
      Returns map of PeerId per PeerRole, filtering internal Peers. Role with none peerId will be filtered.
      Specified by:
      getNonInternalPeers in interface BGPPeerTracker
      Returns:
      Returns map of Peer group by PeerRole