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.binding.api.TransactionChaincreatePeerChain(org.opendaylight.mdsal.binding.api.TransactionChainListener listener)Allocate a new transaction chain for use with a peer.org.opendaylight.mdsal.dom.api.DOMTransactionChaincreatePeerDOMChain(org.opendaylight.mdsal.dom.api.DOMTransactionChainListener listener)Allocate a new transaction chain for use with a peer.BgpIdgetBgpIdentifier()CodecsRegistrygetCodecsRegistry()org.opendaylight.mdsal.binding.api.DataBrokergetDataBroker()Return DataBroker.BGPDispatchergetDispatcher()org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumbergetLocalAs()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()BGPPeerTrackergetPeerTracker()Returns peer tracker for the rib.RIBExtensionConsumerContextgetRibExtensions()Return the RIB extensions available to the RIB instance.BGPRibRoutingPolicygetRibPolicies()Return Policies Container.RIBSupportContextRegistrygetRibSupportContext()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.DOMDataTreeChangeServicegetService()Return instance of DOMDataTreeChangeService, where consumer can register to listen on DOM data changes.org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifiergetYangRibId()Return YangInstanceIdentifier of BGP Rib with its RibId.booleansupportsTable(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-TransactionChainListenerhandling 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-TransactionChainListenerhandling 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
-
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
-
-