Interface RIB
- All Superinterfaces:
InstanceReference<Rib>
,RibOutRefresh
,RibReference
Internal reference to a RIB instance.
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.mdsal.dom.api.DOMTransactionChain
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.AsNumber
RIB 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.DOMDataBroker.DataTreeChangeExtension
Return instance of DOMDataTreeChangeService, where consumer can register to listen on DOM data changes.org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier
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 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()Allocate a new transaction chain for use with a peer.- 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.DOMDataBroker.DataTreeChangeExtension 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
-