From a1309b25523f787f9eaebd9ff35b4b2fb38d2a49 Mon Sep 17 00:00:00 2001 From: Amin Ben Romdhane Date: Thu, 16 Nov 2023 12:40:31 +0100 Subject: [PATCH] urlfilter: Align with new bbfdm linker design --- urlfilter/files/etc/bbfdm/json/urlfilter.json | 39 ++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/urlfilter/files/etc/bbfdm/json/urlfilter.json b/urlfilter/files/etc/bbfdm/json/urlfilter.json index 1034cf8e6..dffb1d911 100644 --- a/urlfilter/files/etc/bbfdm/json/urlfilter.json +++ b/urlfilter/files/etc/bbfdm/json/urlfilter.json @@ -138,6 +138,40 @@ } } ], + "Alias": { + "type": "string", + "read": true, + "write": false, + "version": "2.14", + "protocols": [ + "cwmp", + "usp" + ], + "datatype": "string", + "range": [ + { + "max": 64 + } + ], + "flags": [ + "Unique", + "Linker" + ], + "mapping": [ + { + "type": "uci", + "uci": { + "file": "urlfilter", + "section": { + "type": "profile" + }, + "option": { + "name": "@Name" + } + } + } + ] + }, "Name": { "type": "string", "read": true, @@ -307,6 +341,9 @@ "cwmp", "usp" ], + "flags": [ + "Reference" + ], "description": "Path of the <> that should be applied.", "mapping": [ { @@ -320,7 +357,7 @@ "name": "profile" } }, - "linker_obj": "Device.{BBF_VENDOR_PREFIX}URLFilter.Profile." + "linker_obj": "Device.{BBF_VENDOR_PREFIX}URLFilter.Profile.*.Alias" } ] },