Delete 'version' option from JSON Plugin

This commit is contained in:
Amin Ben Romdhane 2024-02-21 14:11:37 +01:00
parent 5610a5ef43
commit 84c01a5698
8 changed files with 0 additions and 1183 deletions

View file

@ -143,7 +143,6 @@ The application should bring its JSON file under **'/etc/bbfdm/json/'** path wit
```bash ```bash
"WhitelistURL": { "WhitelistURL": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -361,7 +360,6 @@ The application should bring its JSON file under **'/etc/bbfdm/json/'** path wit
"access": false, "access": false,
"Push!": { "Push!": {
"type": "event", "type": "event",
"version": "2.13",
"protocols": [ "protocols": [
"usp" "usp"
], ],
@ -369,7 +367,6 @@ The application should bring its JSON file under **'/etc/bbfdm/json/'** path wit
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.13",
"protocols": [ "protocols": [
"usp" "usp"
] ]
@ -378,7 +375,6 @@ The application should bring its JSON file under **'/etc/bbfdm/json/'** path wit
"Status()": { "Status()": {
"type": "command", "type": "command",
"async": true, "async": true,
"version": "2.12",
"protocols": [ "protocols": [
"usp" "usp"
], ],

View file

@ -10,7 +10,6 @@ It is often the case, that the supported mapping might not handle all the scenar
"json_plugin_version": 1, "json_plugin_version": 1,
"Device.": { "Device.": {
"type": "object", "type": "object",
"version": "2.0",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -21,7 +20,6 @@ It is often the case, that the supported mapping might not handle all the scenar
"type": "string", "type": "string",
"read": true, "read": true,
"write": false, "write": false,
"version": "2.4",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -29,7 +27,6 @@ It is often the case, that the supported mapping might not handle all the scenar
}, },
"Boot!": { "Boot!": {
"type": "event", "type": "event",
"version": "2.12",
"protocols": [ "protocols": [
"usp" "usp"
], ],
@ -37,7 +34,6 @@ It is often the case, that the supported mapping might not handle all the scenar
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.12",
"protocols": [ "protocols": [
"usp" "usp"
], ],
@ -52,7 +48,6 @@ It is often the case, that the supported mapping might not handle all the scenar
"SelfTestDiagnostics()": { "SelfTestDiagnostics()": {
"type": "command", "type": "command",
"async": true, "async": true,
"version": "2.12",
"protocols": [ "protocols": [
"usp" "usp"
], ],
@ -61,7 +56,6 @@ It is often the case, that the supported mapping might not handle all the scenar
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.12",
"protocols": [ "protocols": [
"usp" "usp"
] ]
@ -81,7 +75,6 @@ The json object `dependency` is used to define the same. Below is an example of
"json_plugin_version": 1, "json_plugin_version": 1,
"Device.CWMPManagementServer.": { "Device.CWMPManagementServer.": {
"type": "object", "type": "object",
"version": "2.15",
"protocols": [ "protocols": [
"usp" "usp"
], ],
@ -90,7 +83,6 @@ The json object `dependency` is used to define the same. Below is an example of
"dependency": "file:/etc/config/cwmp", "dependency": "file:/etc/config/cwmp",
"EnableCWMP": { "EnableCWMP": {
"type": "boolean", "type": "boolean",
"version": "2.15",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,6 @@
{ {
"Device.X_IOPSYS_EU_Dropbear.{i}.": { "Device.X_IOPSYS_EU_Dropbear.{i}.": {
"type": "object", "type": "object",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -20,7 +19,6 @@
}, },
"Alias": { "Alias": {
"type": "string", "type": "string",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -46,7 +44,6 @@
}, },
"PasswordAuth": { "PasswordAuth": {
"type": "boolean", "type": "boolean",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -71,7 +68,6 @@
}, },
"RootPasswordAuth": { "RootPasswordAuth": {
"type": "boolean", "type": "boolean",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -96,7 +92,6 @@
}, },
"Port": { "Port": {
"type": "unsignedInt", "type": "unsignedInt",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -121,7 +116,6 @@
}, },
"RootLogin": { "RootLogin": {
"type": "boolean", "type": "boolean",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -146,7 +140,6 @@
}, },
"GatewayPorts": { "GatewayPorts": {
"type": "boolean", "type": "boolean",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -171,7 +164,6 @@
}, },
"Interface": { "Interface": {
"type": "string", "type": "string",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -196,7 +188,6 @@
}, },
"RSAKeyFile": { "RSAKeyFile": {
"type": "string", "type": "string",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -221,7 +212,6 @@
}, },
"DSSKeyFile": { "DSSKeyFile": {
"type": "string", "type": "string",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -246,7 +236,6 @@
}, },
"SSHKeepAlive": { "SSHKeepAlive": {
"type": "unsignedInt", "type": "unsignedInt",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -271,7 +260,6 @@
}, },
"IdleTimeout": { "IdleTimeout": {
"type": "unsignedInt", "type": "unsignedInt",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -296,7 +284,6 @@
}, },
"Verbose": { "Verbose": {
"type": "boolean", "type": "boolean",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -321,7 +308,6 @@
}, },
"BannerFile": { "BannerFile": {
"type": "string", "type": "string",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"

View file

@ -2,7 +2,6 @@
"json_plugin_version": 1, "json_plugin_version": 1,
"Device.UCI_TEST_V1.": { "Device.UCI_TEST_V1.": {
"type": "object", "type": "object",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -11,7 +10,6 @@
"array": false, "array": false,
"Password": { "Password": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -40,7 +38,6 @@
"type": "unsignedInt", "type": "unsignedInt",
"read": true, "read": true,
"write": false, "write": false,
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -62,7 +59,6 @@
}, },
"Device.UCI_TEST_V1.OWSD.{i}.": { "Device.UCI_TEST_V1.OWSD.{i}.": {
"type": "object", "type": "object",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -85,7 +81,6 @@
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -100,7 +95,6 @@
}, },
"Port": { "Port": {
"type": "unsignedInt", "type": "unsignedInt",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -132,7 +126,6 @@
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -159,7 +152,6 @@
}, },
"Device.UBUS_TEST_V1.": { "Device.UBUS_TEST_V1.": {
"type": "object", "type": "object",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -168,7 +160,6 @@
"array": false, "array": false,
"Uptime": { "Uptime": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -203,7 +194,6 @@
"type": "unsignedInt", "type": "unsignedInt",
"read": true, "read": true,
"write": false, "write": false,
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -222,7 +212,6 @@
}, },
"Device.UBUS_TEST_V1.Interface.{i}.": { "Device.UBUS_TEST_V1.Interface.{i}.": {
"type": "object", "type": "object",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -244,7 +233,6 @@
"type": "string", "type": "string",
"read": true, "read": true,
"write": false, "write": false,
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -259,7 +247,6 @@
}, },
"Ifname": { "Ifname": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": false, "write": false,
"protocols": [ "protocols": [
@ -280,7 +267,6 @@
}, },
"Media": { "Media": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": false, "write": false,
"protocols": [ "protocols": [
@ -302,7 +288,6 @@
}, },
"Push!": { "Push!": {
"type": "event", "type": "event",
"version": "2.14",
"protocols": [ "protocols": [
"usp" "usp"
], ],
@ -310,7 +295,6 @@
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.14",
"protocols": [ "protocols": [
"usp" "usp"
] ]
@ -319,7 +303,6 @@
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.14",
"protocols": [ "protocols": [
"usp" "usp"
] ]
@ -328,7 +311,6 @@
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.14",
"protocols": [ "protocols": [
"usp" "usp"
] ]
@ -336,7 +318,6 @@
}, },
"Periodic!": { "Periodic!": {
"type": "event", "type": "event",
"version": "2.13",
"protocols": [ "protocols": [
"usp" "usp"
] ]
@ -344,7 +325,6 @@
"Status()": { "Status()": {
"type": "command", "type": "command",
"async": true, "async": true,
"version" : "2.12",
"protocols": [ "protocols": [
"usp" "usp"
], ],

View file

@ -1,7 +1,6 @@
{ {
"Device.X_IOPSYS_EU_TEST.": { "Device.X_IOPSYS_EU_TEST.": {
"type": "object", "type": "object",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -20,7 +19,6 @@
}, },
"Enable": { "Enable": {
"type": "boolean", "type": "boolean",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -44,7 +42,6 @@
}, },
"Port": { "Port": {
"type": "unsignedInt", "type": "unsignedInt",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -78,7 +75,6 @@
}, },
"Nbr_Retries": { "Nbr_Retries": {
"type": "unsignedInt", "type": "unsignedInt",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -102,7 +98,6 @@
}, },
"Min_value": { "Min_value": {
"type": "int", "type": "int",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -131,7 +126,6 @@
}, },
"Max_value": { "Max_value": {
"type": "int", "type": "int",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -160,7 +154,6 @@
}, },
"Value": { "Value": {
"type": "int", "type": "int",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -194,7 +187,6 @@
}, },
"Nbr_packets": { "Nbr_packets": {
"type": "unsignedLong", "type": "unsignedLong",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -228,7 +220,6 @@
}, },
"Nbr_bytes": { "Nbr_bytes": {
"type": "unsignedLong", "type": "unsignedLong",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -252,7 +243,6 @@
}, },
"TransmitPowerLimit": { "TransmitPowerLimit": {
"type": "long", "type": "long",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -286,7 +276,6 @@
}, },
"MaxTxPower": { "MaxTxPower": {
"type": "long", "type": "long",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -310,7 +299,6 @@
}, },
"ButtonColor": { "ButtonColor": {
"type": "hexBinary", "type": "hexBinary",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -334,7 +322,6 @@
}, },
"BackgroundColor": { "BackgroundColor": {
"type": "hexBinary", "type": "hexBinary",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -363,7 +350,6 @@
}, },
"TextColor": { "TextColor": {
"type": "hexBinary", "type": "hexBinary",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -397,7 +383,6 @@
}, },
"AssociationTime": { "AssociationTime": {
"type": "dateTime", "type": "dateTime",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -421,7 +406,6 @@
}, },
"Description": { "Description": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -445,7 +429,6 @@
}, },
"Interface": { "Interface": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -475,7 +458,6 @@
}, },
"IPAddr": { "IPAddr": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -508,7 +490,6 @@
}, },
"Protocol": { "Protocol": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -545,7 +526,6 @@
}, },
"FailureReasons": { "FailureReasons": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -583,7 +563,6 @@
}, },
"SupportedOperatingChannelBandwidths": { "SupportedOperatingChannelBandwidths": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -618,7 +597,6 @@
}, },
"TransmitPowerSupported": { "TransmitPowerSupported": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -652,7 +630,6 @@
}, },
"PriorityRegeneration": { "PriorityRegeneration": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -689,7 +666,6 @@
}, },
"Push!": { "Push!": {
"type": "event", "type": "event",
"version": "2.13",
"protocols": [ "protocols": [
"usp" "usp"
], ],
@ -697,7 +673,6 @@
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.10",
"protocols": [ "protocols": [
"usp" "usp"
] ]
@ -706,7 +681,6 @@
"type": "string", "type": "string",
"read": true, "read": true,
"write": true, "write": true,
"version": "2.12",
"protocols": [ "protocols": [
"usp" "usp"
] ]
@ -714,7 +688,6 @@
}, },
"Periodic!": { "Periodic!": {
"type": "event", "type": "event",
"version": "2.13",
"protocols": [ "protocols": [
"usp" "usp"
] ]
@ -722,7 +695,6 @@
"Status()": { "Status()": {
"type": "command", "type": "command",
"async": true, "async": true,
"version" : "2.12",
"protocols": [ "protocols": [
"usp" "usp"
], ],

View file

@ -1,7 +1,6 @@
{ {
"Device.WiFi.X_IOPSYS_EU_Radio.{i}.": { "Device.WiFi.X_IOPSYS_EU_Radio.{i}.": {
"type": "object", "type": "object",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -19,7 +18,6 @@
}, },
"Noise": { "Noise": {
"type": "int", "type": "int",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -40,7 +38,6 @@
}, },
"Band": { "Band": {
"type": "string", "type": "string",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -61,7 +58,6 @@
}, },
"Device.WiFi.X_IOPSYS_EU_Radio.{i}.Stats.": { "Device.WiFi.X_IOPSYS_EU_Radio.{i}.Stats.": {
"type": "object", "type": "object",
"version": "2.14",
"protocols": [ "protocols": [
"cwmp", "cwmp",
"usp" "usp"
@ -70,7 +66,6 @@
"array": false, "array": false,
"BytesSent": { "BytesSent": {
"type": "unsignedInt", "type": "unsignedInt",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [
@ -91,7 +86,6 @@
}, },
"PacketsReceived": { "PacketsReceived": {
"type": "unsignedInt", "type": "unsignedInt",
"version": "2.14",
"read": true, "read": true,
"write": true, "write": true,
"protocols": [ "protocols": [