Interface RIB

    • Method Detail

      • getLocalAs

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getLocalAs()
        RIB AS.
        Returns:
        AS
      • getBgpIdentifier

        BgpId getBgpIdentifier()
      • getLocalTables

        @NonNull Set<? extends BgpTableType> getLocalTables()
        Return the set of table identifiers which are accepted and advertised by this RIB instance.
        Returns:
        A set of identifiers.
      • createPeerDOMChain

        org.opendaylight.mdsal.dom.api.DOMTransactionChain createPeerDOMChain​(org.opendaylight.mdsal.dom.api.DOMTransactionChainListener listener)
        Allocate a new transaction chain for use with a peer.
        Parameters:
        listener - TransactionChainListener handling recovery
        Returns:
        A new transaction chain.
      • createPeerChain

        org.opendaylight.mdsal.binding.api.TransactionChain createPeerChain​(org.opendaylight.mdsal.binding.api.TransactionChainListener listener)
        Allocate a new transaction chain for use with a peer.
        Parameters:
        listener - TransactionChainListener handling recovery
        Returns:
        A new transaction chain.
      • getRibExtensions

        RIBExtensionConsumerContext getRibExtensions()
        Return the RIB extensions available to the RIB instance.
        Returns:
        RIB extensions handle.
      • getRibSupportContext

        RIBSupportContextRegistry getRibSupportContext()
        Return the RIB extensions available to the RIB instance with additional RIB specific context such as translation between DOM and Binding.
        Returns:
        RIB extensions handle.
      • getYangRibId

        org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getYangRibId()
        Return YangInstanceIdentifier of BGP Rib with its RibId.
        Returns:
        YangInstanceIdentifier
      • getService

        org.opendaylight.mdsal.dom.api.DOMDataTreeChangeService getService()
        Return instance of DOMDataTreeChangeService, where consumer can register to listen on DOM data changes.
        Returns:
        DOMDataTreeChangeService
      • getDataBroker

        org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
        Return DataBroker.
        Returns:
        DataBroker
      • supportsTable

        boolean supportsTable​(TablesKey tableKey)
        Returns true if RIB supports table.
        Parameters:
        tableKey - table
        Returns:
        true if supported
      • getRibPolicies

        BGPRibRoutingPolicy getRibPolicies()
        Return Policies Container.
        Returns:
        policies
      • getPeerTracker

        BGPPeerTracker getPeerTracker()
        Returns peer tracker for the rib.
        Returns:
        peer tracker