public interface ReconciliationFrameworkEvent extends AutoCloseable
onDeviceDisconnected(DeviceInfo)
is called when device is being mastered by controller but not yet submitted into data store.
This method is being called only if the ReconciliationFrameworkRegistrar.isReconciliationFrameworkRegistered()
is set to Boolean.TRUE
onDevicePrepared(DeviceInfo)
is called when device is disconnected or controller loses control of the switchModifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Void> |
onDeviceDisconnected(DeviceInfo deviceInfo)
This event occurs after device is disconnected or being slaved.
|
com.google.common.util.concurrent.ListenableFuture<ResultState> |
onDevicePrepared(DeviceInfo deviceInfo)
Event when device is ready as a master but not yet submitted in data store.
|
close
com.google.common.util.concurrent.ListenableFuture<ResultState> onDevicePrepared(@Nonnull DeviceInfo deviceInfo)
OwnershipChangeListener.becomeMasterBeforeSubmittedDS(DeviceInfo)
deviceInfo
- connected switch identificationcom.google.common.util.concurrent.ListenableFuture<Void> onDeviceDisconnected(@Nonnull DeviceInfo deviceInfo)
MastershipChangeService.onLoseOwnership(DeviceInfo)
. This event is used by
reconciliation framework that the framework don't need to register MastershipChangeService
deviceInfo
- connected switch identificationMastershipChangeService
Copyright © 2019 OpenDaylight. All rights reserved.