API Get Available IP Address
Hi Guys,
I want to use Device42 with VMware vRealize Orchestrator to automatically get an available IP address during VM provisioning. Using Device42 api i can run:
https://device42/api/1.0/suggest_ip/?subnet=10.1.10.0/24
This get's me an available IP address. However in my organization the first 10 IP addresses are reserved in a subnet. Is there a way I can get this request to ignore the first .10 IP addresses?
-
Hi Gordon, so I think the best way to handle this is to mark the first 10 IP's in every subnet as reserved. They don't have to be assigned to any device but if you mark those as reserved then in the suggest_ip API call, it will start at .11 as your first available IP in the subnet and so on. You can mark them reserved from an API call or even in the GUI from the action drop-down window or doing a reimportable export of your list of IP's. Let me know if that helps.
0
Please sign in to leave a comment.
Comments
1 comment