public class ArbitratorReconciliationManagerImpl extends Object implements ArbitratorReconcileService, ReconciliationNotificationListener, AutoCloseable
Modifier and Type | Class and Description |
---|---|
class |
ArbitratorReconciliationManagerImpl.CommitActiveBundleCallback |
Constructor and Description |
---|
ArbitratorReconciliationManagerImpl(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcRegistry,
ReconciliationManager reconciliationManager,
org.opendaylight.serviceutils.upgrade.UpgradeState upgradeState) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CommitActiveBundleOutput>> |
commitActiveBundle(CommitActiveBundleInput input)
Commits the active available bundle in openflowplugin
|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
endReconciliation(DeviceInfo node) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetActiveBundleOutput>> |
getActiveBundle(GetActiveBundleInput input)
Fetches the active available bundle in openflowplugin
|
String |
getName() |
int |
getPriority() |
ResultState |
getResultState() |
void |
start() |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
startReconciliation(DeviceInfo node) |
public ArbitratorReconciliationManagerImpl(org.opendaylight.controller.sal.binding.api.RpcProviderRegistry rpcRegistry, ReconciliationManager reconciliationManager, org.opendaylight.serviceutils.upgrade.UpgradeState upgradeState)
public void start()
public void close() throws Exception
close
in interface AutoCloseable
Exception
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CommitActiveBundleOutput>> commitActiveBundle(CommitActiveBundleInput input)
ArbitratorReconcileService
commitActiveBundle
in interface ArbitratorReconcileService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetActiveBundleOutput>> getActiveBundle(GetActiveBundleInput input)
ArbitratorReconcileService
getActiveBundle
in interface ArbitratorReconcileService
com.google.common.util.concurrent.ListenableFuture
activeBundle
, or null
if not presentpublic com.google.common.util.concurrent.ListenableFuture<Boolean> startReconciliation(DeviceInfo node)
startReconciliation
in interface ReconciliationNotificationListener
public com.google.common.util.concurrent.ListenableFuture<Boolean> endReconciliation(DeviceInfo node)
endReconciliation
in interface ReconciliationNotificationListener
public int getPriority()
getPriority
in interface ReconciliationNotificationListener
public String getName()
getName
in interface ReconciliationNotificationListener
public ResultState getResultState()
getResultState
in interface ReconciliationNotificationListener
Copyright © 2019 OpenDaylight. All rights reserved.