Class LinkstateTopologyBuilder
- java.lang.Object
-
- org.opendaylight.bgpcep.bgp.topology.provider.AbstractTopologyBuilder<LinkstateRoute>
-
- org.opendaylight.bgpcep.bgp.topology.provider.LinkstateTopologyBuilder
-
- All Implemented Interfaces:
EventListener
,TopologyReference
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<LinkstateRoute>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<LinkstateRoute>
,org.opendaylight.mdsal.binding.api.TransactionChainListener
,InstanceReference<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>
public class LinkstateTopologyBuilder extends AbstractTopologyBuilder<LinkstateRoute>
-
-
Field Summary
-
Fields inherited from class org.opendaylight.bgpcep.bgp.topology.provider.AbstractTopologyBuilder
listenerScheduledRestartEnforceCounter, listenerScheduledRestartTime, networkTopologyTransaction
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addSrAwareTopologyType(org.opendaylight.mdsal.binding.api.WriteTransaction trans)
protected void
clearTopology()
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, onTransactionChainFailed, onTransactionChainSuccessful, resetListener, resetTransactionChain, restartTransactionChainOnDemand, routeChanged, scheduleListenerRestart, start
-
-
-
-
Constructor Detail
-
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 Detail
-
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>
-
-