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.
      • 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 - DOMTransactionChainListener 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.
      • 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
      • 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
      • 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
      • instantiateServiceInstance

        public void instantiateServiceInstance()
      • 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