Provision to read all parameters of the devices

Hello there,

I’m trying to read all data from my CPE’s when they comunicate with the cwmp.
To do this I’m trying this provision:
declare(“InternetGatewayDevice.*”, {value:});

But it’s not working.
Any ideas?

Do you see any error and other information in the log file ?

I see some invalid sessions there, but when I try the same provision to one specific device it works fine…


This will only read the immediate parameters under ‘InternetGatewayDevice’. You need:

declare(“InternetGatewayDevice.*”, {path:, value:});
declare(“InternetGatewayDevice.*.*”, {path:, value:});
declare(“InternetGatewayDevice.*.*.*”, {path:, value:});

But you probably shouldn’t do that. Fetch only what you need.

Going along with what @zaidka said. The only reason I refresh the top level node is in development when I’m trying to see everything the CPE supports. And in that case I refresh the top level node from within the GUI and wait for it to grind away.

In production, I never refresh the entire device parameter model. 95% of the data I won’t ever care about, so why put the extra load on the CPE to respond to the GPN/GPV requests, on Mongo to store all that data, and Redis to cache it?