From 360e48a3cff887122e851c604e1ac83f29779748 Mon Sep 17 00:00:00 2001 From: suvendhu Date: Fri, 11 Nov 2022 21:27:52 +0530 Subject: [PATCH] urlfilter: added description of vendor parameters --- urlfilter/Makefile | 2 +- urlfilter/files/etc/bbfdm/json/urlfilter.json | 21 +++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/urlfilter/Makefile b/urlfilter/Makefile index 8a7b67e22..0af395438 100644 --- a/urlfilter/Makefile +++ b/urlfilter/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=urlfilter -PKG_VERSION:=1.1.4 +PKG_VERSION:=1.1.5 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) diff --git a/urlfilter/files/etc/bbfdm/json/urlfilter.json b/urlfilter/files/etc/bbfdm/json/urlfilter.json index 76833b494..b26847529 100644 --- a/urlfilter/files/etc/bbfdm/json/urlfilter.json +++ b/urlfilter/files/etc/bbfdm/json/urlfilter.json @@ -7,6 +7,7 @@ "cwmp", "usp" ], + "description": "This object contains the information about URLs to be blocked or allowed to access from specified MAC addresses in given time duration.", "access": false, "array": false, "Enable": { @@ -18,6 +19,7 @@ "cwmp", "usp" ], + "description": "Enable or disable URLFiltering on the CPE.", "mapping": [ { "type": "uci", @@ -42,6 +44,7 @@ "cwmp", "usp" ], + "description": "Enable or disable access of the URLs specified in <> from all connected devices.", "mapping": [ { "type": "uci", @@ -66,6 +69,7 @@ "cwmp", "usp" ], + "description": "Comma separated list of URLs to be blacklisted from all connected devices.", "list": { "datatype": "string" }, @@ -92,7 +96,8 @@ "protocols": [ "cwmp", "usp" - ], + ], + "description": "<>", "mapping": [ { "type": "uci", @@ -115,6 +120,7 @@ "cwmp", "usp" ], + "description": "Table contain details of the blacklist/whitelist profiles.", "uniqueKeys": [ "Name" ], @@ -141,6 +147,7 @@ "cwmp", "usp" ], + "description": "Name of the profile. This should be unique for each entry in the table.", "datatype": "string", "range": [ { @@ -171,6 +178,7 @@ "cwmp", "usp" ], + "description": "Comma separated list of URLs which should be allowed to access.", "list": { "datatype": "string" }, @@ -198,6 +206,7 @@ "cwmp", "usp" ], + "description": "Comma separated list of URLs which should not be allowed to access.", "list": { "datatype": "string" }, @@ -225,7 +234,8 @@ "protocols": [ "cwmp", "usp" - ], + ], + "description": "<>", "mapping": [ { "type": "uci", @@ -248,6 +258,7 @@ "cwmp", "usp" ], + "description": "Table contain MAC addresses on which <> should be applied along with other information like filtering should be applied on which day, the timing information when the filtering should be done etc.", "access": true, "array": true, "mapping": [ @@ -271,6 +282,7 @@ "cwmp", "usp" ], + "description": "Enable or disable this filter instance on the CPE.", "mapping": [ { "type": "uci", @@ -295,6 +307,7 @@ "cwmp", "usp" ], + "description": "Path of the <> that should be applied.", "mapping": [ { "type": "uci", @@ -320,6 +333,7 @@ "cwmp", "usp" ], + "description": "Comma separated list of MAC addresses for which the filtering should be done.", "list": { "datatype": "string" }, @@ -347,6 +361,7 @@ "cwmp", "usp" ], + "description": "Comma separated list of weekdays. Filtering should be done on the mentioned days only.", "list": { "datatype": "string" }, @@ -374,6 +389,7 @@ "cwmp", "usp" ], + "description": "Time when filtering shall start.", "mapping": [ { "type": "uci", @@ -398,6 +414,7 @@ "cwmp", "usp" ], + "description": "The duration in seconds to filter the URLs from start time.", "mapping": [ { "type": "uci",