public interface ExportPolicyPeerTracker
Modifier and Type | Method and Description |
---|---|
PeerExportGroup |
getPeerGroup(PeerRole role)
returns PeerExportGroup per role
|
PeerRole |
getRole(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier peerId) |
boolean |
isAddPathSupportedByPeer(PeerId peerId)
Check whether Peer supports Add Path
|
boolean |
isTableStructureInitialized(PeerId peerId)
check whether the peer supports the table
|
boolean |
isTableSupported(PeerId peerId)
check whether the peer supports the table
|
default void |
onTablesChanged(PeerId peerId,
org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidateNode node)
Deprecated.
|
default void |
peerRoleChanged(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier peerPath,
PeerRole role)
Deprecated.
|
AbstractRegistration |
registerPeer(PeerId peerId,
SendReceive sendReceive,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier peerPath,
PeerRole peerRole,
Optional<SimpleRoutingPolicy> simpleRoutingPolicy)
Register Peer
|
void |
registerPeerAsInitialized(PeerId peerId)
Flags peers once empty structure has been created, then changes under it can
be applied
|
@Deprecated default void onTablesChanged(PeerId peerId, org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidateNode node)
peerId
- which receveid the changenode
- data changeAbstractRegistration registerPeer(@Nonnull PeerId peerId, @Nullable SendReceive sendReceive, @Nonnull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier peerPath, @Nonnull PeerRole peerRole, @Nonnull Optional<SimpleRoutingPolicy> simpleRoutingPolicy)
peerId
- Peer IdsendReceive
- send receive add ath configuration of the peerpeerPath
- Yii of the peerpeerRole
- Role of the peersimpleRoutingPolicy
- PeerExportGroup getPeerGroup(@Nonnull PeerRole role)
role
- of desired PeerExportGroupboolean isTableSupported(@Nonnull PeerId peerId)
peerId
- of peerPeerRole getRole(@Nonnull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier peerId)
peerId
- of peerboolean isAddPathSupportedByPeer(@Nonnull PeerId peerId)
peerId
- of peer@Deprecated default void peerRoleChanged(@Nonnull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier peerPath, @Nullable PeerRole role)
peerPath
- Peer's pathrole
- Peer's new role, null indicates the peer has disappeared.void registerPeerAsInitialized(PeerId peerId)
peerId
- of peerCopyright © 2018 OpenDaylight. All rights reserved.