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 Type
    Method
    Description
    Returns Cluster Id.
    @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
    Returns Local AS.
    @NonNull PeerId
    Returns Peer id.
    @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.
    @NonNull PeerRole
    Returns Peer Role.
    @Nullable SendReceive
    Returns AddPath support configuration if supported, otherwise null.
    default boolean
    Returns if peer supports Additional Path for specific table.
    boolean
    supportsTable(@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

      default boolean supportsAddPathSupported(@NonNull TablesKey tableKey)
      Returns if peer supports Additional Path for specific table.
      Parameters:
      tableKey - table
      Returns:
      true if Additional Path is supported for defined table
    • getSupportedAddPathTables

      @Nullable SendReceive getSupportedAddPathTables(@NonNull TablesKey tableKey)
      Returns AddPath support configuration if supported, otherwise null.
      Parameters:
      tableKey - table
      Returns:
      AddPath support configuration if supported, otherwise null
    • supportsTable

      boolean supportsTable(@NonNull TablesKey tableKey)
      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