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

API query filter by logical "OR"

[ Edited ]
New Member
Posts: 2
3716     0

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"

Superuser
Posts: 115
3716     0

 

'*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 

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com

Re: API query filter by logical "OR"

New Member
Posts: 2
3716     0

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"

Superuser
Posts: 115
3716     0

I read the code and have started writing some blog articles around this that I will start posting starting this Wednesday.

 

www.sifbaksh.com

 

 

Let me know what kind of stuff you are interested in learning as well.

 

 

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com
Showing results for 
Search instead for 
Did you mean: 

Recommended for You