[VOL-2741]: code changes to support OLT reboot
Change-Id: I8a26347fee26802f5f32ed27f2030f1e0608fbb1
diff --git a/internal/pkg/core/olt_state_transitions.go b/internal/pkg/core/olt_state_transitions.go
index c10d17d..c249e2e 100644
--- a/internal/pkg/core/olt_state_transitions.go
+++ b/internal/pkg/core/olt_state_transitions.go
@@ -91,7 +91,7 @@
// In doInit establish the grpc session
transitionMap.transitions[DeviceInit] =
Transition{
- previousState: []DeviceState{deviceStateNull, deviceStateDown},
+ previousState: []DeviceState{deviceStateNull, deviceStateUp, deviceStateDown},
currentState: deviceStateInit,
before: []TransitionHandler{dh.doStateInit},
after: []TransitionHandler{dh.postInit}}