mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-03 20:37:43 +01:00
47 lines
No EOL
823 B
JSON
47 lines
No EOL
823 B
JSON
{
|
|
"json_plugin_version": 2,
|
|
"Device.DeviceInfo.": {
|
|
"type": "object",
|
|
"protocols": [
|
|
"cwmp",
|
|
"usp"
|
|
],
|
|
"description": "This object contains general device information.",
|
|
"access": false,
|
|
"array": false,
|
|
"{BBF_VENDOR_PREFIX}BaseMACAddress": {
|
|
"type": "string",
|
|
"read": true,
|
|
"write": false,
|
|
"protocols": [
|
|
"cwmp",
|
|
"usp"
|
|
],
|
|
"description": "The MAC Address of the device.",
|
|
"datatype": "MACAddress",
|
|
"range": [
|
|
{
|
|
"max": 17
|
|
}
|
|
],
|
|
"pattern": [
|
|
"",
|
|
"([0-9A-Fa-f][0-9A-Fa-f]:){5}([0-9A-Fa-f][0-9A-Fa-f])"
|
|
],
|
|
"mapping": [
|
|
{
|
|
"type": "uci",
|
|
"uci": {
|
|
"file": "/etc/board-db/config/device",
|
|
"section": {
|
|
"name": "deviceinfo"
|
|
},
|
|
"option": {
|
|
"name":"BaseMACAddress"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |