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

The sadis application completely rejects the subscriber or olt configuration with unknown fields

    XMLWordPrintable

    Details

    • Story Points:
      5
    • Epic Link:
    • Sprint:
      VOLTHA 2.10 - Sprint 4

      Description

      The sadis application completely rejects the subscriber or olt configuration with unknown fields.

      For instance the below sadis config has "authenticationType" field that is unknown to sadis app. 

       

       

       {
       "id":"ALPHe3931056-1",
       "nasPortId":"ALPHe3931056",
       "circuitId":"EC1925000158 xpon 0/2/ALPHe3931056/1/2000:200",
       "remoteId":"QA2",
       "authenticationType":"NO_AUTH",
       "uniTagList":[
       {
       "serviceName":"default",
       "ponCTag":200,
       "ponSTag":2000,
       "technologyProfileId":64,
       "upstreamBandwidthProfile":"High-Speed-Internet",
       "downstreamBandwidthProfile":"User1-Specific",
       "isDhcpRequired":true
       }
       ]
      }

      Below is the logs at sadis app when this subscriber is queried

       

      22:06:31.507 DEBUG [SubscriberManager] Getting data from local config
       22:06:31.510 TRACE [SubscriberManager] Data not found in local config.
       22:06:31.511 DEBUG [SubscriberManager] Getting data from the remote URL http://subscriber-mgmt-service.infra.svc/files/subscriber-entries/ALPHe3931056
       22:06:31.517 DEBUG [SubscriberManager] Exception while reading remote data http://subscriber-mgmt-service.infra.svc/files/subscriber-entries/ALPHe3931056
       22:06:31.518 WARN  [SubscriberManager] Data not found for id ALPHe3931056
       Subscriber not found

       

      There is only a DEBUG log

      "22:06:31.517 DEBUG [SubscriberManager] Exception while reading remote data http://subscriber-mgmt-service.infra.svc/files/subscriber-entries/ALPHe3931056"

      and the data is not found. However what is useful is throw a WARNING message and still accept the subscriber data.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes