VOL-3503 Add a device operational state of RECONCILING
Change-Id: I96118a15974f96fc5059320ab075b9c704d4ce73
diff --git a/internal/pkg/core/openolt.go b/internal/pkg/core/openolt.go
index 6564e29..34e681e 100644
--- a/internal/pkg/core/openolt.go
+++ b/internal/pkg/core/openolt.go
@@ -186,6 +186,11 @@
handler.adapterPreviouslyConnected = true
oo.addDeviceHandlerToMap(handler)
handler.transitionMap = NewTransitionMap(handler)
+ //Setting state to RECONCILING
+ err := handler.coreProxy.DeviceStateUpdate(ctx, device.Id, device.ConnectStatus, voltha.OperStatus_RECONCILING)
+ if err != nil {
+ return err
+ }
handler.transitionMap.Handle(ctx, DeviceInit)
}
return nil