Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

Network Change & Configuration Management

Reply
Highlighted

API query filter by logical "OR"

[ Edited ]
Techie
Posts: 2
381     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!

Highlighted

Re: API query filter by logical "OR"

Adviser
Posts: 431
381     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

www.sifbaksh.com
Highlighted

Re: API query filter by logical "OR"

Techie
Posts: 2
382     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!

Highlighted

Re: API query filter by logical "OR"

Adviser
Posts: 431
382     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

www.sifbaksh.com
Showing results for 
Search instead for 
Do you mean 

Recommended for You