infoblox-client icon indicating copy to clipboard operation
infoblox-client copied to clipboard

Support "contains_address" search field for NetworkV4

Open UvixCreative opened this issue 2 years ago • 1 comments

It appears that the contains_address search field for NetworkV4 objects is not currently supported. When I tried to use this kwarg, the URL that was built for the request did not include the contains_address field.

I gave a quick look at the source code and tried to fix it by just adding contains_address to the _all_searchable_fields variable in the NetworkV4 class, but that doesn't appear to work.

UvixCreative avatar Oct 02 '23 19:10 UvixCreative

If it's not obvious, I did some more digging and got it working in #373. I did not add this to NetworkV6 because, as far as I can tell from the WAPI documentation, IPv6 networks do not support contains_address

UvixCreative avatar Oct 02 '23 20:10 UvixCreative