Reply

Search network by extensible atributes

New Member
Posts: 4
3887     0

Hi , I would like search network by a extensible attributes , but my command return blank

My Extensible Attribute is Site, my get search :

 

curl -k -u userSmiley Tonguewd "https://IPSERVER/wapi/v2.10.5/network?*Site='AWS'"

Re: Search network by extensible atributes

Superuser
Posts: 65
3888     0

You will need to modify the command a bit.

 

curl -k -u user:passwd -X GET
"https://grid-master/wapi/v2.10/network?_return_fields%2B=extattrs&*Site%3A=AWS"

This came directly from a deployment guide that has other API examples as well: https://www.infoblox.com/wp-content/uploads/infoblox-deployment-infoblox-rest-api.pdf

Re: Search network by extensible atributes

New Member
Posts: 4
3888     0

Hi, @JasonRad thanks. It's works =D

Re: Search network by extensible atributes

New Member
Posts: 4
3888     0

One more question, Can I filter by two attributes or more ? 

Re: Search network by extensible atributes

Superuser
Posts: 65
3888     0

Yes, just add additional EAs after the first. For example the following command looks for networks with Site of AWS and Region of NAM:

 

curl -k -u user:passwd -X GET
"https://grid-master/wapi/v2.10/network?_return_fields%2B=extattrs&*Site%3A=AWS&*Region%3A=NAM"

Re: Search network by extensible atributes

New Member
Posts: 4
3888     0

thanks so much 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin