public class ReconciliationManager extends Object implements AutoCloseable
3-Node Cluster: Reconciliation manager is agnostic of whether it's running in single node cluster or 3-node cluster. It's a responsibility of the task submitter to make sure that it submit the task for reconciliation only if it's an owner of that device EXCEPT controller initiated Connection. Reconciliation of controller initiated connection should be done by all the 3-nodes in the cluster, because connection to individual controller can be interrupted for various reason.
Constructor and Description |
---|
ReconciliationManager(org.opendaylight.controller.md.sal.binding.api.DataBroker db,
InstanceIdentifierCodec instanceIdentifierCodec) |
Modifier and Type | Method and Description |
---|---|
void |
cancelTerminationPointReconciliation() |
void |
close() |
void |
dequeue(ReconciliationTask task) |
void |
enqueue(ReconciliationTask task) |
void |
enqueueForRetry(ReconciliationTask task) |
org.opendaylight.controller.md.sal.binding.api.DataBroker |
getDb() |
boolean |
isEnqueued(ReconciliationTask task) |
void |
reconcileTerminationPoints(OvsdbConnectionManager connectionManager,
OvsdbConnectionInstance connectionInstance,
List<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> bridgeNodes)
This method reconciles Termination Point configurations for the given list of bridge nodes.
|
public ReconciliationManager(org.opendaylight.controller.md.sal.binding.api.DataBroker db, InstanceIdentifierCodec instanceIdentifierCodec)
public boolean isEnqueued(ReconciliationTask task)
public void enqueue(ReconciliationTask task)
public void enqueueForRetry(ReconciliationTask task)
public void dequeue(ReconciliationTask task)
public org.opendaylight.controller.md.sal.binding.api.DataBroker getDb()
public void close() throws Exception
close
in interface AutoCloseable
Exception
public void reconcileTerminationPoints(OvsdbConnectionManager connectionManager, OvsdbConnectionInstance connectionInstance, List<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> bridgeNodes)
connectionManager
- OvsdbConnectionManager objectconnectionInstance
- OvsdbConnectionInstance objectbridgeNodes
- list of bridge nodes be reconciled for termination pointspublic void cancelTerminationPointReconciliation()
Copyright © 2018 OpenDaylight. All rights reserved.