Compare commits

...

2 Commits

Author SHA1 Message Date
suvendhu
f96dd2524e fix json 2023-01-11 08:53:41 +00:00
Amit Kumar
59273acc32 ponmngr: updated bbf json file for transceiver
Added parameters RxPower,TxPower,Voltage, Bias and Temperature
2023-01-11 08:53:41 +00:00

View File

@@ -3,6 +3,7 @@
"Device.XPON.": {
"type": "object",
"protocols": [
"cwmp",
"usp"
],
"access": false,
@@ -13,6 +14,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedInt",
@@ -31,6 +33,7 @@
"Device.XPON.ONU.{i}.": {
"type": "object",
"protocols": [
"cwmp",
"usp"
],
"access": false,
@@ -51,6 +54,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "boolean",
@@ -67,6 +71,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "string",
@@ -88,6 +93,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "string",
@@ -109,6 +115,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedInt",
@@ -129,6 +136,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedInt",
@@ -149,6 +157,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedInt",
@@ -164,9 +173,31 @@
}
]
},
"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": [
"cwmp",
"usp"
],
"access": false,
@@ -187,6 +218,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedInt",
@@ -209,6 +241,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "string",
@@ -230,6 +263,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "boolean",
@@ -246,6 +280,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "boolean",
@@ -262,6 +297,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "boolean",
@@ -277,6 +313,7 @@
"Device.XPON.ONU.{i}.EthernetUNI.{i}.": {
"type": "object",
"protocols": [
"cwmp",
"usp"
],
"access": false,
@@ -297,6 +334,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "boolean",
@@ -313,6 +351,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "string",
@@ -338,6 +377,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "string",
@@ -359,6 +399,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "string",
@@ -380,6 +421,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "string",
@@ -399,6 +441,7 @@
"Device.XPON.ONU.{i}.EthernetUNI.{i}.Stats.": {
"type": "object",
"protocols": [
"cwmp",
"usp"
],
"access": false,
@@ -415,6 +458,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedLong",
@@ -431,6 +475,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedLong",
@@ -447,6 +492,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedLong",
@@ -463,6 +509,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedLong",
@@ -479,6 +526,7 @@
"Device.XPON.ONU.{i}.ANI.{i}.": {
"type": "object",
"protocols": [
"cwmp",
"usp"
],
"access": false,
@@ -499,6 +547,7 @@
"read": true,
"write": true,
"protocols": [
"cwmp",
"usp"
],
"datatype": "boolean",
@@ -529,6 +578,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "string",
@@ -553,6 +603,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "string",
@@ -573,6 +624,7 @@
"Device.XPON.ONU.{i}.ANI.{i}.Stats.": {
"type": "object",
"protocols": [
"cwmp",
"usp"
],
"access": false,
@@ -589,6 +641,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedLong",
@@ -605,6 +658,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedLong",
@@ -621,6 +675,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedLong",
@@ -637,6 +692,7 @@
"read": true,
"write": false,
"protocols": [
"cwmp",
"usp"
],
"datatype": "unsignedLong",
@@ -649,6 +705,111 @@
]
}
}
},
"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"
}
}
],
"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"
}
]
}
}
}
}