The post is a little dated but I have this all working quite well in VMware Orchesetrator. The powershell plugin was setup against a PowerShell host (ironically its our System Center Orchestrator) that included the OrionSDK and PowerOrion module. One of the parameters to our automated build workflow is a dvPortGroup (for the desired VLAN). A stored VMware Orchestrator configuration file maps these PortGroups/VLANs to subnet names as defined in IPAM for lookup.
My next task is to mark the IP as "USED" in IPAM after allocating the address (reason: prevent concurrent builds from trying to use the same IP)
Any chance you could share your workflow and Powershell scripts?
checkout the powerorion pieces of the orion SDK. It has the options to get free IP address based on scope name.
More examples of IPAM SDK: IPAM API · solarwinds/OrionSDK Wiki · GitHub
PowerCLI C:\> Get-OrionNextAvailableIPAddress -swisconnection $swis -Subnet "%Servers%"
what was the thought in creating the API through powerShell rather than REST?
We are planning (as in, we haven't started yet) on developing automation and deeper analytics using Python and the REST capability for the other Orion products. I can't put my finger on why IPAM wouldn't have the same REST capability.
I think I'm missing a piece of the equation...