-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Blocker
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v1.0.0
-
Component/s: Deprecated - VOLTHA
-
Labels:None
-
Story Points:3
-
Sprint:VOLTHA Sprint 5
proto field names have been changed to camelCase for various attributes in Rest Call.
I synced the latest code today and when tried various Get calls, observed that proto field names have been changed.
E.g.
when checked the status of OLT, admins state field is renamed to "adminState" under response body which used to be earlier "admin_state".
Response body for OLT status is below for reference:
{
"items": [
,
{
"id": "0001633d46127e79",
"type": "ponsim_onu",
"root": true,
"parentId": "000132c52fb38f72",
"vendor": "ponsim",
"model": "n/a",
"vlan": 128,
"adminState": "ENABLED",
"operStatus": "ACTIVE",
"connectStatus": "REACHABLE",
"proxyAddress":
,
"parentPortNo": 1
},
{
"id": "0001119364914d22",
"type": "ponsim_onu",
"root": true,
"parentId": "000132c52fb38f72",
"vendor": "ponsim",
"model": "n/a",
"vlan": 129,
"adminState": "ENABLED",
"operStatus": "ACTIVE",
"connectStatus": "REACHABLE",
"proxyAddress":
,
"parentPortNo": 1
},
{
"id": "00019a306a23ed53",
"type": "ponsim_onu",
"root": true,
"parentId": "000132c52fb38f72",
"vendor": "ponsim",
"model": "n/a",
"vlan": 130,
"adminState": "ENABLED",
"operStatus": "ACTIVE",
"connectStatus": "REACHABLE",
"proxyAddress":
,
"parentPortNo": 1
},
{
"id": "000118f1e221c93c",
"type": "ponsim_onu",
"root": true,
"parentId": "000132c52fb38f72",
"vendor": "ponsim",
"model": "n/a",
"vlan": 131,
"adminState": "ENABLED",
"operStatus": "ACTIVE",
"connectStatus": "REACHABLE",
"proxyAddress":
,
"parentPortNo": 1
}
]
}