diff --git a/ponmngr/files/etc/bbfdm/json/xpon.json b/ponmngr/files/etc/bbfdm/json/xpon.json index ccfd7f986..0427bc6a9 100644 --- a/ponmngr/files/etc/bbfdm/json/xpon.json +++ b/ponmngr/files/etc/bbfdm/json/xpon.json @@ -173,27 +173,6 @@ } ] }, - "TransceiverNumberOfEntries": { - "type": "unsignedInt", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "unsignedInt", - "mapping": [ - { - "type": "ubus", - "ubus": { - "object": "xpon", - "method": "status", - "args": {}, - "key": "ONU[@index].Transceiver.@Count" - } - } - ] - }, "Device.XPON.ONU.{i}.SoftwareImage.{i}.": { "type": "object", "protocols": [ @@ -621,6 +600,27 @@ } ] }, + "TransceiverNumberOfEntries": { + "type": "unsignedInt", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "unsignedInt", + "mapping": [ + { + "type": "ubus", + "ubus": { + "object": "xpon", + "method": "status", + "args": {}, + "key": "ONU[@index].ANI[@index].Transceiver.@Count" + } + } + ] + }, "Device.XPON.ONU.{i}.ANI.{i}.Stats.": { "type": "object", "protocols": [ @@ -804,247 +804,247 @@ ] } } - } - }, - "Device.XPON.ONU.{i}.Transceiver.{i}.": { - "type": "object", - "protocols": [ - "cwmp", - "usp" - ], - "access": false, - "array": true, - "mapping": [ - { - "type": "ubus", - "ubus": { - "object": "xpon", - "method": "status", - "args": {}, - "key": "ONU[@index].Transceiver" + }, + "Device.XPON.ONU.{i}.ANI.{i}.Transceiver.{i}.": { + "type": "object", + "protocols": [ + "cwmp", + "usp" + ], + "access": false, + "array": true, + "mapping": [ + { + "type": "ubus", + "ubus": { + "object": "xpon", + "method": "status", + "args": {}, + "key": "ONU[@index].ANI[@index].Transceiver" + } } + ], + "ID": { + "type": "unsignedInt", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "unsignedInt", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "ID" + } + ] + }, + "Identifier": { + "type": "unsignedInt", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "unsignedInt", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "Identifier" + } + ] + }, + "ModuleVendor": { + "type": "string", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "string", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "ModuleVendor" + } + ] + }, + "ModuleName": { + "type": "string", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "string", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "ModuleName" + } + ] + }, + "ModuleVersion": { + "type": "string", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "string", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "ModuleVersion" + } + ] + }, + "ModuleFirmwareVersion": { + "type": "string", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "string", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "ModuleFirmwareVersion" + } + ] + }, + "PONMode": { + "type": "string", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "string", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "PONMode" + } + ] + }, + "Connector": { + "type": "string", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "string", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "connector" + } + ] + }, + "RxPower": { + "type": "int", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "int", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "RxPower" + } + ] + }, + "TxPower": { + "type": "int", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "int", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "TxPower" + } + ] + }, + "Voltage": { + "type": "unsignedInt", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "unsignedInt", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "Voltage" + } + ] + }, + "Bias": { + "type": "unsignedInt", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "unsignedInt", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "Bias" + } + ] + }, + "Temperature": { + "type": "int", + "read": true, + "write": false, + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "int", + "mapping": [ + { + "data": "@Parent", + "type": "json", + "key": "Temperature" + } + ] } - ], - "ID": { - "type": "unsignedInt", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "unsignedInt", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "ID" - } - ] - }, - "Identifier": { - "type": "unsignedInt", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "unsignedInt", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "Identifier" - } - ] - }, - "ModuleVendor": { - "type": "string", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "string", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "ModuleVendor" - } - ] - }, - "ModuleName": { - "type": "string", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "string", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "ModuleName" - } - ] - }, - "ModuleVersion": { - "type": "string", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "string", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "ModuleVersion" - } - ] - }, - "ModuleFirmwareVersion": { - "type": "string", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "string", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "ModuleFirmwareVersion" - } - ] - }, - "PONMode": { - "type": "string", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "string", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "PONMode" - } - ] - }, - "Connector": { - "type": "string", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "string", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "connector" - } - ] - }, - "RxPower": { - "type": "int", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "int", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "RxPower" - } - ] - }, - "TxPower": { - "type": "int", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "int", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "TxPower" - } - ] - }, - "Voltage": { - "type": "unsignedInt", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "unsignedInt", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "Voltage" - } - ] - }, - "Bias": { - "type": "unsignedInt", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "unsignedInt", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "Bias" - } - ] - }, - "Temperature": { - "type": "int", - "read": true, - "write": false, - "protocols": [ - "cwmp", - "usp" - ], - "datatype": "int", - "mapping": [ - { - "data": "@Parent", - "type": "json", - "key": "Temperature" - } - ] } } }