All Implemented Interfaces:
RIB, RibOutRefresh, RibReference, BGPRibState, BGPRibStateProvider, InstanceReference<Rib>

public final class RIBImpl extends BGPRibStateImpl implements RIB
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getLocalAs

      public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getLocalAs()
      Description copied from interface: RIB
      RIB AS.
      Specified by:
      getLocalAs in interface RIB
      Returns:
      AS
    • getBgpIdentifier

      public BgpId getBgpIdentifier()
      Specified by:
      getBgpIdentifier in interface RIB
    • getLocalTables

      public Set<? extends BgpTableType> getLocalTables()
      Description copied from interface: RIB
      Return the set of table identifiers which are accepted and advertised by this RIB instance.
      Specified by:
      getLocalTables in interface RIB
      Returns:
      A set of identifiers.
    • getDispatcher

      public BGPDispatcher getDispatcher()
      Specified by:
      getDispatcher in interface RIB
    • getLocalTablesKeys

      public Set<TablesKey> getLocalTablesKeys()
      Specified by:
      getLocalTablesKeys in interface RIB
    • supportsTable

      public boolean supportsTable(TablesKey tableKey)
      Description copied from interface: RIB
      Returns true if RIB supports table.
      Specified by:
      supportsTable in interface RIB
      Parameters:
      tableKey - table
      Returns:
      true if supported
    • getRibPolicies

      public BGPRibRoutingPolicy getRibPolicies()
      Description copied from interface: RIB
      Return Policies Container.
      Specified by:
      getRibPolicies in interface RIB
      Returns:
      policies
    • getPeerTracker

      public BGPPeerTracker getPeerTracker()
      Description copied from interface: RIB
      Returns peer tracker for the rib.
      Specified by:
      getPeerTracker in interface RIB
      Returns:
      peer tracker
    • refreshTable

      public void refreshTable(TablesKey tk, PeerId peerId)
      Description copied from interface: RibOutRefresh
      Triggers the reevaluation.
      Specified by:
      refreshTable in interface RibOutRefresh
      Parameters:
      tk - table key of table route paths to be reevaluated
      peerId - peer to advertize / withdraw paths after reevaluation
    • getService

      public org.opendaylight.mdsal.dom.api.DOMDataBroker.DataTreeChangeExtension getService()
      Description copied from interface: RIB
      Return instance of DOMDataTreeChangeService, where consumer can register to listen on DOM data changes.
      Specified by:
      getService in interface RIB
      Returns:
      DOMDataTreeChangeService
    • getYangRibId

      public org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getYangRibId()
      Description copied from interface: RIB
      Return YangInstanceIdentifier of BGP Rib with its RibId.
      Specified by:
      getYangRibId in interface RIB
      Returns:
      YangInstanceIdentifier
    • createPeerDOMChain

      public org.opendaylight.mdsal.dom.api.DOMTransactionChain createPeerDOMChain()
      Description copied from interface: RIB
      Allocate a new transaction chain for use with a peer.
      Specified by:
      createPeerDOMChain in interface RIB
      Returns:
      A new transaction chain.
    • getRibExtensions

      public RIBExtensionConsumerContext getRibExtensions()
      Description copied from interface: RIB
      Return the RIB extensions available to the RIB instance.
      Specified by:
      getRibExtensions in interface RIB
      Returns:
      RIB extensions handle.
    • getRibSupportContext

      public RIBSupportContextRegistry getRibSupportContext()
      Description copied from interface: RIB
      Return the RIB extensions available to the RIB instance with additional RIB specific context such as translation between DOM and Binding.
      Specified by:
      getRibSupportContext in interface RIB
      Returns:
      RIB extensions handle.
    • getCodecsRegistry

      public CodecsRegistry getCodecsRegistry()
      Specified by:
      getCodecsRegistry in interface RIB
    • instantiateServiceInstance

      public void instantiateServiceInstance()
    • closeServiceInstance

      public com.google.common.util.concurrent.FluentFuture<? extends org.opendaylight.mdsal.common.api.CommitInfo> closeServiceInstance()