Class RIBImpl

    • Method Detail

      • 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
      • 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.
      • onTransactionChainFailed

        public void onTransactionChainFailed​(org.opendaylight.mdsal.binding.api.TransactionChain chain,
                                             org.opendaylight.mdsal.binding.api.Transaction transaction,
                                             Throwable cause)
        Specified by:
        onTransactionChainFailed in interface org.opendaylight.mdsal.binding.api.TransactionChainListener
      • onTransactionChainFailed

        public void onTransactionChainFailed​(org.opendaylight.mdsal.dom.api.DOMTransactionChain chain,
                                             org.opendaylight.mdsal.dom.api.DOMDataTreeTransaction transaction,
                                             Throwable cause)
        Specified by:
        onTransactionChainFailed in interface org.opendaylight.mdsal.dom.api.DOMTransactionChainListener
      • onTransactionChainSuccessful

        public void onTransactionChainSuccessful​(org.opendaylight.mdsal.binding.api.TransactionChain chain)
        Specified by:
        onTransactionChainSuccessful in interface org.opendaylight.mdsal.binding.api.TransactionChainListener
      • onTransactionChainSuccessful

        public void onTransactionChainSuccessful​(org.opendaylight.mdsal.dom.api.DOMTransactionChain chain)
        Specified by:
        onTransactionChainSuccessful in interface org.opendaylight.mdsal.dom.api.DOMTransactionChainListener
      • 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.DOMDataTreeChangeService 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
      • getDataBroker

        public org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
        Description copied from interface: RIB
        Return DataBroker.
        Specified by:
        getDataBroker in interface RIB
        Returns:
        DataBroker
      • 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
      • createPeerChain

        public org.opendaylight.mdsal.binding.api.TransactionChain createPeerChain​(org.opendaylight.mdsal.binding.api.TransactionChainListener listener)
        Description copied from interface: RIB
        Allocate a new transaction chain for use with a peer.
        Specified by:
        createPeerChain in interface RIB
        Parameters:
        listener - TransactionChainListener handling recovery
        Returns:
        A new transaction chain.
      • createPeerDOMChain

        public org.opendaylight.mdsal.dom.api.DOMTransactionChain createPeerDOMChain​(org.opendaylight.mdsal.dom.api.DOMTransactionChainListener listener)
        Description copied from interface: RIB
        Allocate a new transaction chain for use with a peer.
        Specified by:
        createPeerDOMChain in interface RIB
        Parameters:
        listener - TransactionChainListener handling recovery
        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.
      • instantiateServiceInstance

        public void instantiateServiceInstance()
      • closeServiceInstance

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