- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Unmanaged IP Data
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2022 09:11 AM
Hi All,
I have setup Network Discovery, I was wondering if there is a way (report/API call) to export this data into a CSV?
I need to get the Unmanaged IP blocks and to be able to related to the EA Attributes like Country etc.
Regards,
Gokul
Re: Unmanaged IP Data
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2023 02:20 PM - edited 05-09-2023 02:42 PM
You should use the CSV Job Manager to Export IPv4 Networks (under DHCP Objects) and export all networks then filter the CSV to include networks without Descriptions or details that could identify that you did not create it, assuming that you do input descriptions or EAs when you create networks...
Or use an API call like this one (tested in Postman), the Return Fields are not necessary but will explicitly return the value for those fields:
https://{{grid_master}}/wapi/v2.12.2/network?unmanaged=true&_return_fields%2b=enable_discovery,unmanaged
I have not found a way to export unmanaged IPs from the CSV Job Manager but you can use the API to get UNMANAGED ip_addresses from Networks (in my example 10.0.0.0/24) with a call like this (tested in Postman):
https://{{grid_master}}/wapi/v2.11.2/ipv4address?network=10.0.0.0/24&types=UNMANAGED