{ "json_plugin_version": 2, "Device.WiFi.": { "type": "object", "protocols": [ "cwmp", "usp" ], "access": false, "array": false, "{BBF_VENDOR_PREFIX}TEST1": { "type": "boolean", "protocols": [ "cwmp", "usp" ], "read": true, "write": true, "datatype": "boolean", "mapping": [ { "type": "uci", "uci": { "file": "wireless", "section": { "name": "globals" }, "option": { "name": "test1_enable" } } } ] }, "{BBF_VENDOR_PREFIX}TEST2": { "type": "boolean", "protocols": [ "cwmp", "usp" ], "read": true, "write": true, "datatype": "boolean", "mapping": [ { "type": "uci", "uci": { "file": "wireless", "section": { "name": "globals" }, "option": { "name": "test2_enable" } } } ] } }, "Device.PD2.{i}.": { "type": "object", "protocols": [ "cwmp", "usp" ], "access": false, "array": true, "mapping": [ { "type": "ubus", "ubus": { "object": "proxd", "method": "list", "args": {}, "key": "devices" } } ], "MiniHubNumberOfEntries": { "type": "unsignedInt", "protocols": [ "cwmp", "usp" ], "read": true, "write": false, "mapping": [ { "type": "ubus", "ubus": { "object": "proxd", "method": "list", "args": {}, "key": "devices" } } ] }, "MHubNumberOfEntries": { "type": "unsignedInt", "protocols": [ "cwmp", "usp" ], "read": true, "write": false, "mapping": [ { "type": "ubus", "ubus": { "object": "proxd", "method": "list", "args": {}, "key": "numofdevices" } } ] }, "Device.PD2.{i}.MiniHub.{i}.": { "type": "object", "protocols": [ "cwmp", "usp" ], "access": false, "array": true, "mapping": [ { "type": "ubus", "ubus": { "object": "proxd", "method": "list", "args": {}, "key": "devices" } } ], "Device.PD2.{i}.MiniHub.{i}.DeviceInfo.": { "type": "object", "protocols": [ "cwmp", "usp" ], "access": false, "array": false, "Description": { "type": "string", "read": true, "write": false, "protocols": [ "cwmp", "usp" ], "mapping": [ { "type": "ubus", "ubus": { "object": "proxd", "method": "get", "args": { "path": "Device.ProxiedDevice.{i}.MiniHub.{i}.DeviceInfo.Description" }, "key": "Description" } } ] }, "Reboot()": { "type": "command", "async": true, "protocols": [ "usp" ], "input": {}, "output": {}, "mapping": [ { "type": "ubus", "ubus": { "object": "proxd", "method": "get", "args": { "path": "Device.ProxiedDevice.{i}.MiniHub.{i}.DeviceInfo.", "action": "Reboot()" } } } ] } } } } }