-
Type:
Story
-
Status: Resolved (View Workflow)
-
Priority:
Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.10
-
Component/s: sadis-server
-
Labels:
-
Story Points:5
-
Epic Link:
-
Sprint:VOLTHA 2.10 - Sprint 4
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.