Class SyncReactorClusterDecorator
java.lang.Object
org.opendaylight.openflowplugin.applications.frsync.impl.SyncReactorClusterDecorator
- All Implemented Interfaces:
SyncReactor
Decorator for cluster related issues.
-
Constructor Summary
ConstructorDescriptionSyncReactorClusterDecorator
(SyncReactor delegate, DeviceMastershipManager deviceMastershipManager) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<Boolean>
syncup
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> flowcapableNodePath, SyncupEntry syncupEntry) Invoked to synchronize a device.
-
Constructor Details
-
SyncReactorClusterDecorator
public SyncReactorClusterDecorator(SyncReactor delegate, DeviceMastershipManager deviceMastershipManager)
-
-
Method Details
-
syncup
public com.google.common.util.concurrent.ListenableFuture<Boolean> syncup(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> flowcapableNodePath, SyncupEntry syncupEntry) Description copied from interface:SyncReactor
Invoked to synchronize a device.- Specified by:
syncup
in interfaceSyncReactor
- Parameters:
flowcapableNodePath
- path to openflow augmentation of nodesyncupEntry
- configured node + device reflection- Returns:
- synchronization outcome
-