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

BBSim: Wrong handling of controlledActivation=only-onu

    XMLWordPrintable

    Details

      Description

      1. - Bring up voltha infra and voltha stack e.g. ATT workflow
      2. - Bring up BBSIM with helm flags EXTRA_HELM_FLAGS=" --set onu=2,pon=2,controlledActivation=only-onu "
      3. - Create OLT: voltctl device create -t openolt -H bbsim0.voltha.svc:50060
      4. - Enable OLT: voltctl device enable <olt-device-id>
      5. - You will see, no onu will come up!
      6. - Bring up ONU:  kubectl get pods -n voltha | grep bbsim0 | awk 'NR==1{print $1}'  followed by kubectl exec -i <bbsim-pod-name> -n voltha – bbsimctl onu poweron BBSM000a0001
      7. - ONU will reach omci-flows-pushed
      8. - Disable OLT: voltctl device disable <olt-device-id>
      9. - Delete OLT:  voltctl device delete <olt-device-id>
      10. - Check voltctl device list is empty
      11. - Create OLT again: voltctl device create -t openolt -H bbsim0.voltha.svc:50060
      12. - Enable OLT again: voltctl device enable <olt-device-id>
      13. - After a short time (I think 5s) 4 ONUs will apear automatically and reach omci-flows-pushed   This is the issue! No ONU should established automatically here because of controlledActivation=only-onu !!!

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            tthieme Torsten Thieme
            Reporter:
            tthieme Torsten Thieme
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes