I've got a rather large network that spans 100 countries. We have some 4200 subnets across over 480 discovery profiles that we're constantly scanning in order to find new devices.
This, of course, creates a rather populated DiscoveryNodes table. Fortuantely, I don't have to accept everything that's found. I have an IPAM tool that handles registrations, and I only need to start managing nodes that meet certain criteria out of the IPAM tool. The best thing is that I can script pulling exactly which Nodes and IP addresses matter to me from my IPAM tool and can match it using queries against the DiscoveredNodes table to know which ones I want to start monitoring. I already have a script that does this, and right now I just kick out a spreadsheet to tell us which nodes need to be promoted, which we currently have to do manually.
The next obvious step: I want to automate the frontend manual process of managing a discovered node. I know exactly which disocvered nodes need to get added. But while I can extract the various fields from the Discovered node table to fill in the required properties on an Addnode, that seems clunky compared to just choosing a row from the DiscoveredNodes table, and promoting it to be a managed node similar to how you'd do it from the frontend.
Thing is, I can't tell if it's possible to promote a Discovered Node from to a managed one using the SDK. Can the SDK do this?
Separately, I have the same situation for Interfaces. I have interfaces in the DiscoveredInterfaces table that I know I want to manage. Can I do this with the SDK, or is it necessary to trigger the DiscoverInterfacesOnNode verb, and use those results to give it to AddInterfacesOnNode. Seems like a wasted discovery when the DiscoveredInterfaces already has what I need, and I can identify the ID that it has.
Thanks.