Class LinkstateTopologyBuilder
java.lang.Object
org.opendaylight.bgpcep.bgp.topology.provider.AbstractTopologyBuilder<LinkstateRoute>
org.opendaylight.bgpcep.bgp.topology.provider.LinkstateTopologyBuilder
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>
,TopologyReference
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<LinkstateRoute>
,InstanceReference<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>
-
Field Summary
Fields inherited from class org.opendaylight.bgpcep.bgp.topology.provider.AbstractTopologyBuilder
listenerScheduledRestartEnforceCounter, listenerScheduledRestartTime, networkTopologyTransaction
-
Constructor Summary
ConstructorDescriptionLinkstateTopologyBuilder
(org.opendaylight.mdsal.binding.api.DataBroker dataProvider, RibReference locRibReference, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId topologyId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addSrAwareTopologyType
(org.opendaylight.mdsal.binding.api.WriteTransaction trans) protected void
protected void
createObject
(org.opendaylight.mdsal.binding.api.ReadWriteTransaction trans, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LinkstateRoute> id, LinkstateRoute value) protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LinkstateRoute>
getRouteWildcard
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Tables> tablesId) protected void
removeObject
(org.opendaylight.mdsal.binding.api.ReadWriteTransaction trans, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LinkstateRoute> id, LinkstateRoute value) protected void
removeSrAwareTopologyTypeIfRequired
(org.opendaylight.mdsal.binding.api.WriteTransaction trans) Methods inherited from class org.opendaylight.bgpcep.bgp.topology.provider.AbstractTopologyBuilder
close, getInstanceIdentifier, onDataTreeChanged, onFailure, onSuccess, resetListener, resetTransactionChain, restartTransactionChainOnDemand, routeChanged, scheduleListenerRestart, start
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onInitialData
-
Constructor Details
-
LinkstateTopologyBuilder
public LinkstateTopologyBuilder(org.opendaylight.mdsal.binding.api.DataBroker dataProvider, RibReference locRibReference, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId topologyId)
-
-
Method Details
-
addSrAwareTopologyType
protected void addSrAwareTopologyType(org.opendaylight.mdsal.binding.api.WriteTransaction trans) -
removeSrAwareTopologyTypeIfRequired
protected void removeSrAwareTopologyTypeIfRequired(org.opendaylight.mdsal.binding.api.WriteTransaction trans) -
createObject
protected void createObject(org.opendaylight.mdsal.binding.api.ReadWriteTransaction trans, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LinkstateRoute> id, LinkstateRoute value) - Specified by:
createObject
in classAbstractTopologyBuilder<LinkstateRoute>
-
removeObject
protected void removeObject(org.opendaylight.mdsal.binding.api.ReadWriteTransaction trans, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LinkstateRoute> id, LinkstateRoute value) - Specified by:
removeObject
in classAbstractTopologyBuilder<LinkstateRoute>
-
getRouteWildcard
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LinkstateRoute> getRouteWildcard(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Tables> tablesId) - Specified by:
getRouteWildcard
in classAbstractTopologyBuilder<LinkstateRoute>
-
clearTopology
protected void clearTopology()- Specified by:
clearTopology
in classAbstractTopologyBuilder<LinkstateRoute>
-