- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Add host in a network with next available IP function
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2019 11:28 AM
Hi Team,
I want to know is it possible using next available function to create a host in a particular network.In below example i tried like this and getting the error. However if in the same request, i remove next available function and use a fixed ip address, it works fine.
curl -k -u admin:infoblox -H 'content-type: application/json' -X POST "https://172.20.165.192/wapi/v2.4/record:host?_return_fields%2B=name,network_view,ipv4addrs&_return_a..." -d '{"name":"DMOC23-01", "configure_for_dns":false,"ipv4addrs":[{"ipv4addr":"func:nextavailableip:10.10.0.0/24","configure_for_dhcp": false}],"view":"default.Testing"}
Error
Re: Add host in a network with next available IP function
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2019 02:40 AM
Hi Ashley,
The network has to exist in the Infoblox grid. If it already doesn't, first create the network on the grid. Then, trigger this WAPI call.
Regards,
Krishna