Class BGPPeerTrackerImpl
java.lang.Object
org.opendaylight.protocol.bgp.rib.impl.BGPPeerTrackerImpl
- All Implemented Interfaces:
BGPPeerTracker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns map of PeerId per PeerRole, filtering internal Peers.Returns Peer.getPeers()
Returns map of PeerId per PeerRole.org.opendaylight.yangtools.concepts.Registration
registerPeer
(Peer peer) Register Peer.
-
Constructor Details
-
BGPPeerTrackerImpl
public BGPPeerTrackerImpl()
-
-
Method Details
-
registerPeer
Description copied from interface:BGPPeerTracker
Register Peer.- Specified by:
registerPeer
in interfaceBGPPeerTracker
- Parameters:
peer
- Peer- Returns:
- registration tickets
-
getPeer
Description copied from interface:BGPPeerTracker
Returns Peer.- Specified by:
getPeer
in interfaceBGPPeerTracker
- Parameters:
peerId
- peer ID- Returns:
- Peer
-
getPeers
Description copied from interface:BGPPeerTracker
Returns map of PeerId per PeerRole. Role with none peerId will be filtered.- Specified by:
getPeers
in interfaceBGPPeerTracker
- Returns:
- Returns map of Peer group by PeerRole
-
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 interfaceBGPPeerTracker
- Returns:
- Returns map of Peer group by PeerRole
-