From 7bb8d3959c32d871d15043dc291473f15ee64e30 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Dutta Date: Mon, 30 Oct 2023 18:29:03 +0530 Subject: [PATCH] docs: updated InformParameters --- docs/guide/notification.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/docs/guide/notification.md b/docs/guide/notification.md index caa880c..b3deab7 100644 --- a/docs/guide/notification.md +++ b/docs/guide/notification.md @@ -16,22 +16,29 @@ As per the cwmp inform requirements, cwmp client has list of parameters defined | Device.ManagementServer.AliasBasedAddressing | -In addition to the above defined forced inform parameters as specified in datamodel standard, TR-181 datamodel defines the multi instance object Device.ManagementServer.InformParameter.{i}. -So new inform parameter can be added through the ACS by the call of the RPC method AddObject for the object Device.ManagementServer.InformParameter.{i}. and then set its parameters values. -icwmpd defines those new inform parameters in uci sections under the package /var/state/icwmp as below: +This list driven from [TR181-forced inform parameter list](https://cwmp-data-models.broadband-forum.org/tr-181-2-16-0-cwmp.html#forced-inform-parameters), so cwmp shall always have these predefined parameters in its inform list, these parameters can't be disabled or excluded. + + +In addition to the above defined forced inform parameters, TR-181 datamodel defines the multi instance object `Device.ManagementServer.InformParameter.{i}.` to define and manage more parameters in INFORM RPC. + +These can be added by the ACS with a call AddObject RPC call for the object `Device.ManagementServer.InformParameter.{i}.` and then set its parameters values. + +icwmpd store those new inform parameters in `/etc/config/cwmp` uci file as below: ```bash -root@iopsys-44d43771aff0:~# cat /var/state/icwmp +root@iopsys-44d43771aff0:~# cat /etc/config/cwmp config inform_parameter option enable '1' option parameter_name "Device.DeviceInfo.UpTime" option events_list '1 BOOT,6 CONNECTION REQUEST' -config inform_parameter - option enable '0' ``` +> Note: +> 1. To configure a parameter as forced inform parameter, set the events_list to an empty string, or to include the parameter for specific event, set the event_list accordingly. +> 2. Factory default inform_parameters can be added from standard cwmp uci file + ## Notification management `icwmpd` support below notification types, which can be configured from an ACS on the datamodel parameters - 0 = Notification off