Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4053

Reenable of OLT following disable OLT and adapter restart does not work

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            ggowdra Girish Gowdra
            Reporter:
            ggowdra Girish Gowdra
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes