mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-02-09 21:32:57 +01:00
157 lines
3.4 KiB
JSON
157 lines
3.4 KiB
JSON
{
|
|
"object": "usp.raw",
|
|
"methods": [
|
|
{
|
|
"method": "get",
|
|
"args": {
|
|
"path": "Device.DeviceInfo.Manufacturer",
|
|
"proto": "usp"
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "hello",
|
|
"rc": 3
|
|
},
|
|
{
|
|
"method": "instances",
|
|
"args": {
|
|
"path": "Device.Users.User.",
|
|
"proto": "usp"
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "transaction_start",
|
|
"args": {
|
|
"app": "test"
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "set",
|
|
"args": {
|
|
"path": "Device.WiFi.SSID.1.SSID",
|
|
"value": "test-2g",
|
|
"transaction_id": 123
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "transaction_abort",
|
|
"args": {
|
|
"transaction_id": 123
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "object_names",
|
|
"args": {
|
|
"path": "Device.WiFi.SSID.1.",
|
|
"proto": "usp"
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "operate",
|
|
"args": {
|
|
"path":"Device.IP.Diagnostics.",
|
|
"action":"IPPing()",
|
|
"input":{
|
|
"Host":"127.0.0.1",
|
|
"Timeout":".5"
|
|
}
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "get_supported_dm",
|
|
"args": {
|
|
"path":"Device.USB.",
|
|
"next-level":false,
|
|
"schema_type":1
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "get_supported_dm",
|
|
"args": {
|
|
"path":"Device.WiFi."
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "get_supported_dm",
|
|
"args": {
|
|
"path":"Device.WiFi.",
|
|
"next-level":false,
|
|
"schema_type":2
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "get_supported_dm",
|
|
"args": {
|
|
"path":"Device.USB.",
|
|
"next-level":false,
|
|
"schema_type":3
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "get_supported_dm",
|
|
"args": {
|
|
"path":"Device.WiFi.",
|
|
"schema_type":1
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "get_supported_dm",
|
|
"args": {},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "dump_schema",
|
|
"args": {},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "list_operate",
|
|
"args": {},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "transaction_start",
|
|
"args": {
|
|
"app": "test"
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "setm_values",
|
|
"args": {
|
|
"pv_tuple": [{"path":"Device.Users.User.1.Alias", "value":"cpe-1"}, {"path":"Device.Users.User.2.Alias", "value":"cpe-2"}],
|
|
"proto": "usp",
|
|
"transaction_id": 123
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "transaction_commit",
|
|
"args": {
|
|
"transaction_id": 123
|
|
},
|
|
"rc": 0
|
|
},
|
|
{
|
|
"method": "getm_names",
|
|
"args": {
|
|
"paths": ["Device.WiFi.SSID.1.SSID","Device.WiFi.SSID.2.SSID"],
|
|
"proto": "usp"
|
|
},
|
|
"rc": 0
|
|
}
|
|
]
|
|
}
|
|
|