-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.8
-
Component/s: openolt-adapter, openolt-agent
-
Labels:
-
Story Points:5
-
Epic Link:
-
Sprint:VOLTHA Sprint 2
When we device enable the OLT, the openolt-adapter calls the gRPC endpoint EnableIndication(_ *openolt.Empty, stream openolt.Openolt_EnableIndicationServer) providing a Stream that the device can use to send indications back.when we call device disable the device stops sending in indications but the stream is still open, thus when we call device enable the second time we call ReenableOlt(context.Context, *openolt.Empty) (*openolt.Empty, error) that does not provide the stream, but the device can reuse the original stream (as it’s still open) to send indications to the adapterif either the adapter or the device restart the stream is closed (as the connection is broken) so when the adapter calls ReenableOlt the device has no stream to send indications.