API Examples

Reply
Highlighted

Creation of an unmanaged entry via REST API

maximovka
Techie
Posts: 8
3840     0

Dear Infoblox team,

 

I am currently using an Infoblox appliance's v1.6.1 WAPI.

I am trying to assign some addresses in my IP range to be marked as unmanaged using WAPI, but the API guide I have managed to put my hands on offers no instructions on how should it be done.

Any help on the issue of marking an address as unmanaged using WAPI v1.6.1 would be appreciated.

 

 

Thanks,

D.

Re: Creation of an unmanaged entry via REST API

tgraham2
Techie
Posts: 3
3841     0

If by "unmanaged" you mean not added to DNS, the configure for DNS = false does the trick.

 

        payload = '{"ipv4addrs": [{"configure_for_dhcp": false,  \
                    "ipv4addr": "' + ipv4addr + '"}], \
                    "configure_for_dns": false, \
                    "name": "' + fqdn  }'

 

r = requests.post(url=ibx_url, auth=(username,password), verify=False, data=payload)

Re: Creation of an unmanaged entry via REST API

Adviser
Posts: 51
3841     0

Hi,

 

Unmanaged IP Address entries in IPAM refers to used IP addresses which are discovered via IPAM discovery or Network Discovery. These are called unmanaged to specify that they are not 'created' in Infoblox or that Infoblox does not know about them apart from the discovered data.

 

Hence these entries cannot be created via API or GUI. 

 

Regadrs,

Sandeep

Showing results for 
Search instead for 
Do you mean 

Recommended for You