Interface RIB
- All Superinterfaces:
InstanceReference<Rib>,RibOutRefresh,RibReference
Internal reference to a RIB instance.
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.mdsal.dom.api.DOMTransactionChaincreatePeerDOMChain(org.opendaylight.mdsal.dom.api.DOMTransactionChainListener listener) Allocate a new transaction chain for use with a peer.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumberRIB AS.@NonNull Set<? extends BgpTableType>Return the set of table identifiers which are accepted and advertised by this RIB instance.Returns peer tracker for the rib.Return the RIB extensions available to the RIB instance.Return Policies Container.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.DOMDataTreeChangeServiceReturn instance of DOMDataTreeChangeService, where consumer can register to listen on DOM data changes.org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifierReturn 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
refreshTableMethods inherited from interface org.opendaylight.protocol.bgp.rib.RibReference
getInstanceIdentifier
-
Method Details
-
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-DOMTransactionChainListenerhandling 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
Returns true if RIB supports table.- Parameters:
tableKey- table- Returns:
- true if supported
-
getLocalTablesKeys
-
getRibPolicies
BGPRibRoutingPolicy getRibPolicies()Return Policies Container.- Returns:
- policies
-
getPeerTracker
BGPPeerTracker getPeerTracker()Returns peer tracker for the rib.- Returns:
- peer tracker
-