# Discover whole device with 1.2

**URL:** <https://forum.genieacs.com/t/discover-whole-device-with-1-2/926>\
**Category:** Uncategorized\
**Created:** [July 29, 2020, 7:15am UTC](https://forum.genieacs.com/t/discover-whole-device-with-1-2/926 "2020-07-29T07:15:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@simon](https://forum.genieacs.com/u/simon)\
**Post date:** [July 29, 2020, 7:15am UTC](https://forum.genieacs.com/t/discover-whole-device-with-1-2/926/1 "2020-07-29T07:15:16Z")

</div>

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`

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

```

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

```auto
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.

```auto
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 ?

---

<div class="post-metadata">

**Author:** ![zaidka](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/zaidka/32/9_2.png) [@zaidka](https://forum.genieacs.com/u/zaidka)\
**Post date:** [July 30, 2020, 1:15am UTC](https://forum.genieacs.com/t/discover-whole-device-with-1-2/926/2 "2020-07-30T01:15:03Z")

</div>

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.
