Discover whole device with 1.2

Hello,

to discover values and paths of a specific level I can do things like:

discovers path and values in the first level e.g. InternetGatewayDevice.InternetGatewayDevice.DeviceInfo

declare("InternetGatewayDevice.*", {path: 1, value: 1});

discovers path and values in the 2nd level e.g. InternetGatewayDevice.DeviceInfo.Description:

declare("InternetGatewayDevice.*.*", {path: 1, value: 1});

however I would like to have something which disovers me the whole device which is very useful to develop provisions. But when I discover too many levels i get too many iterations and the provision fails.

declare("InternetGatewayDevice.*", {path: 1, value: 1});
declare("InternetGatewayDevice.*.*", {path: 1, value: 1});
declare("InternetGatewayDevice.*.*.*", {path: 1, value: 1});
declare("InternetGatewayDevice.*.*.*.*", {path: 1, value: 1});
declare("InternetGatewayDevice.*.*.*.*.*", {path: 1, value: 1});
declare("InternetGatewayDevice.*.*.*.*.*.*", {path: 1, value: 1});
declare("InternetGatewayDevice.*.*.*.*.*.*.*", {path: 1, value: 1});

How do you discover the whole device within a provision on GenieACS 1.2 ?

Delete the fault and let it resume and it should eventually discover all available params. If the fault persists then probably something’s not right with the CPE. I often come across cases where the CPE is not consistent about the available parameters (e.g. GPV returns new params that weren’t requested and/or not reported in a previous GPN). This causes Genie to be stuck in a cycle of discovery and rediscovery until it gives up and throws a fault.