Class LinkstateGraphBuilder
- java.lang.Object
-
- org.opendaylight.bgpcep.bgp.topology.provider.AbstractTopologyBuilder<LinkstateRoute>
-
- org.opendaylight.bgpcep.bgp.topology.provider.LinkstateGraphBuilder
-
- 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 LinkstateGraphBuilder extends AbstractTopologyBuilder<LinkstateRoute>
This Class build the Traffic Engineering Database as a Connected Graph suitable to be used latter by Path Computation algorithms to compute end to end path.- Author:
- Olivier Dugeon, Philippe Niger
-
-
Field Summary
-
Fields inherited from class org.opendaylight.bgpcep.bgp.topology.provider.AbstractTopologyBuilder
listenerScheduledRestartEnforceCounter, listenerScheduledRestartTime, networkTopologyTransaction
-
-
Constructor Summary
Constructors Constructor Description LinkstateGraphBuilder(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, ConnectedGraphProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
Methods inherited from class org.opendaylight.bgpcep.bgp.topology.provider.AbstractTopologyBuilder
close, getInstanceIdentifier, onDataTreeChanged, onTransactionChainFailed, onTransactionChainSuccessful, resetListener, resetTransactionChain, restartTransactionChainOnDemand, routeChanged, scheduleListenerRestart, start
-
-
-
-
Constructor Detail
-
LinkstateGraphBuilder
public LinkstateGraphBuilder(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, ConnectedGraphProvider provider)
-
-
Method Detail
-
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>
-
-