When looking at Unplanned devices, you can easily see the assigned DHCP IP for each device. Would like to see the equivalent in a project but can't seem to find a way to see what IP was assigned via the Project screen.
Could think of doing this was via an API call.
when the device is deployed it gets added to the inventory. You can then do a look up of the device by serial number to get the information about it's management IP address.
So feature request:
It would be very useful to display the management IP (as it does in the Unplanned screen) and it would also be very useful to pull this information easily so as to build say a host file in Ansible. I'll look pulling that out of the inventory via the API in the meantime!
You need to be careful with this.
The IP address can be (and often is) overwritten in the config. For example, many people will have a range of DHCP addresses for the device to boot initially, then give it a static address during the PnP provisioning
We show the IP address for unclaimed devices as it helps people with device identification, but it is the initial IP address the device used to contact the controller, not the final address that was provisioned.
A more robust approach is to use inventory API. When a device is successfully provisioned, it will be added to inventory. That ip address will be more accurate.