- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
API query filter by logical "OR"
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2020 02:53 AM - edited 08-22-2020 03:05 AM
I'm using https://pypi.org/project/infoblox-client/ Python library. I want to get all objects that have either one given value or another. How could I do that?
My current filter is the following. I would like now to also get DMZ items, along side Internal ones, but not others (ie. not External ones).
'*Range Type': 'Internal'
Thanks!
Re: API query filter by logical "OR"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2020 07:58 AM
'*SifLoc~': 'Lab|Home'
That's what I use to get all networks Location that is Lab and Home
10.10.1.0/24<--Lab
10.10.3.0/24<--Lab
10.10.7.0/24 <--SifLoc = Home
Twitter: https://twitter.com/sifbaksh
https://sifbaksh.com
Re: API query filter by logical "OR"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2020 02:07 PM
Thanks for the hint SBaksh, looks great! By any chance do you know where I can find some documentation that explains these kinds of requests? I have a hard time finding it. Thank you!
Re: API query filter by logical "OR"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2020 02:38 PM
I read the code and have started writing some blog articles around this that I will start posting starting this Wednesday.
Let me know what kind of stuff you are interested in learning as well.
Twitter: https://twitter.com/sifbaksh
https://sifbaksh.com