Interface RIB
-
- All Superinterfaces:
InstanceReference<Rib>
,RibOutRefresh
,RibReference
public interface RIB extends RibReference, RibOutRefresh
Internal reference to a RIB instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.opendaylight.mdsal.dom.api.DOMTransactionChain
createPeerDOMChain(org.opendaylight.mdsal.dom.api.DOMTransactionChainListener listener)
Allocate a new transaction chain for use with a peer.BgpId
getBgpIdentifier()
CodecsRegistry
getCodecsRegistry()
BGPDispatcher
getDispatcher()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber
getLocalAs()
RIB AS.@NonNull Set<? extends BgpTableType>
getLocalTables()
Return the set of table identifiers which are accepted and advertised by this RIB instance.Set<TablesKey>
getLocalTablesKeys()
BGPPeerTracker
getPeerTracker()
Returns peer tracker for the rib.RIBExtensionConsumerContext
getRibExtensions()
Return the RIB extensions available to the RIB instance.BGPRibRoutingPolicy
getRibPolicies()
Return Policies Container.RIBSupportContextRegistry
getRibSupportContext()
Return the RIB extensions available to the RIB instance with additional RIB specific context such as translation between DOM and Binding.org.opendaylight.mdsal.dom.api.DOMDataTreeChangeService
getService()
Return instance of DOMDataTreeChangeService, where consumer can register to listen on DOM data changes.org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier
getYangRibId()
Return YangInstanceIdentifier of BGP Rib with its RibId.boolean
supportsTable(TablesKey tableKey)
Returns true if RIB supports table.-
Methods inherited from interface org.opendaylight.protocol.bgp.rib.impl.spi.RibOutRefresh
refreshTable
-
Methods inherited from interface org.opendaylight.protocol.bgp.rib.RibReference
getInstanceIdentifier
-
-
-
-
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.
-
getDispatcher
BGPDispatcher getDispatcher()
-
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
-DOMTransactionChainListener
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
-
getCodecsRegistry
CodecsRegistry getCodecsRegistry()
-
getService
org.opendaylight.mdsal.dom.api.DOMDataTreeChangeService getService()
Return instance of DOMDataTreeChangeService, where consumer can register to listen on DOM data changes.- Returns:
- DOMDataTreeChangeService
-
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
-
-