- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Search network by extensible atributes
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023 03:58 PM
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 userwd "https://IPSERVER/wapi/v2.10.5/network?*Site='AWS'"
Solved! Go to Solution.
Re: Search network by extensible atributes
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2023 11:44 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 11:09 AM
Hi, @JasonRad thanks. It's works =D
Re: Search network by extensible atributes
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 11:10 AM
One more question, Can I filter by two attributes or more ?
Re: Search network by extensible atributes
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 11:39 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2023 12:01 PM
thanks so much