Closed markatdxb closed 3 years ago
If your networks are defined in separate hierarchy groups you can use IPAM.SubnetManagement.GetFirstAvailableIpForGroup, that allows you to provide hierarchyGroup parameter to distinguish between them.
Does it suit your needs?
Thanks for reply Hierarchy groups do help a bit but we are large enterprise with a bit more complex network setup so it doesn't fulfill all our needs. Certainly custom property or friendly name or any other way would help to be more granular when picking the right subnet Thx Mark
On Mon, 27 May 2019, 16:13 Wojciech Krol, notifications@github.com wrote:
If your networks are defined in separate hierarchy groups you can use IPAM.SubnetManagement.GetFirstAvailableIpForGroup, that allows you to provide hierarchyGroup parameter to distinguish between them.
Does it suit your needs?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/solarwinds/OrionSDK/issues/179?email_source=notifications&email_token=AKPVXJOAGDJHSGDU5RQWKZDPXOQ37A5CNFSM4HPWS4M2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWJINVY#issuecomment-496142039, or mute the thread https://github.com/notifications/unsubscribe-auth/AKPVXJIERDIYMCQDVCIPSH3PXOQ37ANCNFSM4HPWS4MQ .
Ok, that sounds reasonable - I have created feature request (tracked internally as IPAM-2856), I will keep you updated on the status of the issue
i believe this was implemented - https://github.com/solarwinds/OrionSDK/wiki/IPAM-vNext-API#get-first-available-ip-address-for-specific-subnet-via-friendly-name
Would be possible to add API method allowing the use Subnet friendly name instead of subnet and CIDR. We have several overlapping subnets in our environment and current method doesnt allow us to get IP from specific subnet.
Other possibility could be to add option for specifying custom property in current API method ?