Implementing a set-before-get-behaviour with presets
Zaid Abdulla
zaid at genieacs.com
Wed May 11 21:06:24 EDT 2016
On Mon, 2016-05-09 at 15:37 +0200, Oliver Kraitschy wrote:
> The initial refreshObject is working fine. The problem is that it
> takes ~ 10 min to fetch all parameters (~1500). We want to set
> specific parameters first and fetch all parameters afterwards as set-
> before-get implies.
It shouldn't take that long! Try setting the config option
"GET_PARAMETER_NAMES_DEPTH_THRESHOLD" to 2 or 3 and see if that helps.
> Additionally we want to track and store the parameter settings of a
> specific device in the ACS in a kind of device profile so that the
> device settings can be easily restored if a device gets replaced
> (because of hw failureetc). At the moment i misuse presets as device
> profiles. But i had to implement a mechanism to keep them up to date
> if a parameter is modified through the webinterface of the device (a
> notification is sent by easycwmp and the preset is updated
> accordingly).
>
> How would you implement that? Will there be any functionality in the
> upcoming release to implement such a behaviour (and set-before-get)?
Yes, I believe you will be able to achieve something like that in v1.1.
--
Zaid Abdulla
zaid at genieacs.com
More information about the Users
mailing list