THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

How to create a network (API) - from web portal?

Authority
Posts: 20
3215     0

hi, 

 

I would like to create some automation where from one web portal, let's say user put request for /24 network and admin approve it and put it specific /24 of 10.10.10.0/24, is there any API can be used to create this specific 10.10.10.0/24 in the IPAM? Assuming that admin alr know that 10.10.10.0/24 is available and he would like to assign that via web portal. 

 

thanks. 

Re: How to create a network (API) - from web portal?

Adviser
Posts: 181
3215     0

Hi,

 

You can do so using the following WAPI:

curl -k -u admin:infoblox -H 'content-type: application/json' -X POST "https://grid-master/wapi/v2.11/network?_return_fields%2B=network&_return_as_object=1 " -d '{"network": "10.10.10.0/24"}'

For more examples, you can take a look at this document.

 

Thanks and Regards,

Krishna Vasudevan

Re: How to create a network (API) - from web portal?

Authority
Posts: 20
3215     0

thanks. 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You