Interface PeerTrackerInformation
- All Known Subinterfaces:
Peer
- All Known Implementing Classes:
ApplicationPeer,BGPPeer
public interface PeerTrackerInformation
Exposes information required from peer to PeerTracker.
-
Method Summary
Modifier and TypeMethodDescription@Nullable ClusterIdentifierReturns Cluster Id.@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumberReturns Local AS.@NonNull PeerIdReturns Peer id.@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifiergetRibOutIId(@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates tablekey) Creates Table Adj Rib Out Instance identifier.@NonNull PeerRolegetRole()Returns Peer Role.@Nullable SendReceivegetSupportedAddPathTables(@NonNull TablesKey tableKey) Returns AddPath support configuration if supported, otherwise null.default booleansupportsAddPathSupported(@NonNull TablesKey tableKey) Returns if peer supports Additional Path for specific table.booleansupportsTable(@NonNull TablesKey tableKey) Returns true if we have advertized support for a table, i.e.
-
Method Details
-
getPeerId
@NonNull PeerId getPeerId()Returns Peer id.- Returns:
- PeerID
-
supportsAddPathSupported
Returns if peer supports Additional Path for specific table.- Parameters:
tableKey- table- Returns:
- true if Additional Path is supported for defined table
-
getSupportedAddPathTables
Returns AddPath support configuration if supported, otherwise null.- Parameters:
tableKey- table- Returns:
- AddPath support configuration if supported, otherwise null
-
supportsTable
Returns true if we have advertized support for a table, i.e. any prefix from this table should be subject to export towards the peer.- Parameters:
tableKey- table- Returns:
- true if the table is being advertized to the peer.
-
getRibOutIId
@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getRibOutIId(@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates tablekey) Creates Table Adj Rib Out Instance identifier.- Parameters:
tablekey- table key- Returns:
- instance identifier.
-
getRole
@NonNull PeerRole getRole()Returns Peer Role.- Returns:
- PeerRole
-
getClusterId
@Nullable ClusterIdentifier getClusterId()Returns Cluster Id.- Returns:
- Cluster Id
-
getLocalAs
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getLocalAs()Returns Local AS.- Returns:
- AS
-