Hello everybody,
for the record, here's the direct answer of Zaid:
*snip*
To answer your question, you will need a refresh declaration for every
level down the parameter tree. For example:
declare("InternetGatewayDevice.*", ...):
declare("InternetGatewayDevice.*.*", ...):
declare("InternetGatewayDevice.*.*.*", ...):
...
You'd want to add to up to 12 levels or more depending on your device.
If this sounds a little hacky, it's not. This is by design and even if
we are to implement a single function to do that, that's how it would be
implemented internally.
*snip*
Greetings,
Oliver
Am 06.04.2017 13:39, schrieb Oliver Kraitschy:
Hello everybody,
is there a (straightforward) way to fetch/refresh the whole parameters
tree in a provision script?
declare("InternetGatewayDevice.*", {path: Date.now()});
seems to fetch only the top level parameters.
Greetings,
Oliver
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users