I am developing an API script (workflow/mini program almost) that uses NCM to log into all managed devices that hosts a subnet gateway, point to point connection, public ip, etc and have it auto update IPAM. This uses powershell and the custom dotNet library IPNetwork2 to accomplish everything. I am also stitching things together during the job via ansible because thats what my company uses.
Is there any interest in this? The use case for my organization is that people are NOT following standards for the naming conventions on the IPAM hierarchy and are also NOT updating IPAM in a timely manner so it is perpetually out of date. Manual processes obviously are failing so automation was brought up as a task.
I have gotten everything tailored for Palo Alto firewalls, Nexus OS and IOSXE doing some basic show commands.
For the palo alto firewalls I am performing a show interface logical command then parsing it out.
For NXOS and IOSXE devices I am doing a show ip int br, show vlan br and then doing a show run int *xyz* dynamically to get what I want which is ultimatley the interface name, IP address and Subnet be it in decimal or CIDR notation.
Parsing was a PITA to figure out but I got it figured out via powershell and some other voodoo. I dont use python for interfacing with solarwinds API and so that was a unique issue for just me but I figured it out. I am now doing the IP Math and hierarchy checks - I am almost finished with my development and will be testing it in my lab environment very soon.
I hope by end of Sept - beginning of Oct to have tested and proven out the process with the ultimate goal of sharing the script for the community. Before doing so I wanted to guage interest and see if anyone wanted or needed such a thing.
This large piece of automation will be pivotal to my organization becuase it will update our IPAM hierarchy to include subnets in production that are not documented. It will update descriptions while preserving old ones so that all data is kept for historical records. I am not doing any deletions so anything not in production will be up to us to maintain or remove manually. Anything new will get auto added to the appropriate hierarchy and it will help us catalogue all of our public IPs that are in use. Ultimately this will then allow us to perform network discovery in a targeted fashion which is the next large piece of automation I am working on because we cannot scan every subnet in our network without causing outages.
There are many other use cases that this can drive - so let me know if you yall are interested in me sharing or not!
Edit: 10/8/2025 - Script is uploaded here: IPAM Subnet Discovery and Auto Import - Scripts - The SolarWinds Platform - THWACK