public final class RibImpl extends Object implements RIB, BGPRIBStateConsumer, AutoCloseable
| Constructor and Description |
|---|
RibImpl(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider provider,
RIBExtensionConsumerContext contextProvider,
BGPDispatcher dispatcher,
org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTreeFactory codecTreeFactory,
org.opendaylight.controller.md.sal.dom.api.DOMDataBroker domBroker,
org.opendaylight.controller.sal.core.api.model.SchemaService schemaService) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<Void> |
closeServiceInstance() |
org.opendaylight.controller.md.sal.dom.api.DOMTransactionChain |
createPeerChain(org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener listener)
Allocate a new transaction chain for use with a peer.
|
BgpId |
getBgpIdentifier() |
CodecsRegistry |
getCodecsRegistry() |
BGPDispatcher |
getDispatcher() |
ExportPolicyPeerTracker |
getExportPolicyPeerTracker(TablesKey tablesKey)
Returns ExportPolicyPeerTracker for specific tableKey, where peer can register himself
as supporting the table.
|
ImportPolicyPeerTracker |
getImportPolicyPeerTracker() |
org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<Rib,RibKey> |
getInstanceIdentifier()
Returns the InstanceIdentifier of the object.
|
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber |
getLocalAs() |
Set<? extends BgpTableType> |
getLocalTables()
Return the set of table identifiers which are accepted and advertised
by this RIB instance.
|
Set<TablesKey> |
getLocalTablesKeys() |
BGPRenderStats |
getRenderStats() |
RIBExtensionConsumerContext |
getRibExtensions()
Return the RIB extensions available to the RIB instance.
|
org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier |
getRibIServiceGroupIdentifier()
Return common ServiceGroupIdentifier to be used between same group cluster service
|
BGPRIBState |
getRIBState()
Returns RIB Operational State
|
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.controller.md.sal.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.
|
org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceRegistration |
registerClusterSingletonService(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService clusterSingletonService) |
String |
toString() |
public RibImpl(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider provider,
RIBExtensionConsumerContext contextProvider,
BGPDispatcher dispatcher,
org.opendaylight.mdsal.binding.dom.codec.api.BindingCodecTreeFactory codecTreeFactory,
org.opendaylight.controller.md.sal.dom.api.DOMDataBroker domBroker,
org.opendaylight.controller.sal.core.api.model.SchemaService schemaService)
public org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<Rib,RibKey> getInstanceIdentifier()
InstanceReferencegetInstanceIdentifier in interface RibReferencegetInstanceIdentifier in interface InstanceReference<Rib>public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber getLocalAs()
getLocalAs in interface RIBpublic BgpId getBgpIdentifier()
getBgpIdentifier in interface RIBpublic Set<? extends BgpTableType> getLocalTables()
RIBgetLocalTables in interface RIBpublic BGPDispatcher getDispatcher()
getDispatcher in interface RIBpublic org.opendaylight.controller.md.sal.dom.api.DOMTransactionChain createPeerChain(org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener listener)
RIBcreatePeerChain in interface RIBlistener - TransactionChainListener handling recoverypublic RIBExtensionConsumerContext getRibExtensions()
RIBgetRibExtensions in interface RIBpublic RIBSupportContextRegistry getRibSupportContext()
RIBgetRibSupportContext in interface RIBpublic org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier getYangRibId()
RIBgetYangRibId in interface RIBpublic CodecsRegistry getCodecsRegistry()
getCodecsRegistry in interface RIBpublic org.opendaylight.controller.md.sal.dom.api.DOMDataTreeChangeService getService()
RIBgetService in interface RIBpublic com.google.common.util.concurrent.ListenableFuture<Void> closeServiceInstance()
public void close()
close in interface AutoCloseablepublic BGPRenderStats getRenderStats()
getRenderStats in interface RIBpublic ImportPolicyPeerTracker getImportPolicyPeerTracker()
getImportPolicyPeerTracker in interface RIBpublic ExportPolicyPeerTracker getExportPolicyPeerTracker(TablesKey tablesKey)
RIBgetExportPolicyPeerTracker in interface RIBtablesKey - supported tablepublic Set<TablesKey> getLocalTablesKeys()
getLocalTablesKeys in interface RIBpublic org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier getRibIServiceGroupIdentifier()
RIBgetRibIServiceGroupIdentifier in interface RIBpublic org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceRegistration registerClusterSingletonService(org.opendaylight.mdsal.singleton.common.api.ClusterSingletonService clusterSingletonService)
registerClusterSingletonService in interface org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProviderpublic BGPRIBState getRIBState()
BGPRIBStateConsumergetRIBState in interface BGPRIBStateConsumerCopyright © 2018 OpenDaylight. All rights reserved.