API ipam.ip-address.filter and multiple parent prefixes unreliable #18507
Labels
status: revisions needed
This issue requires additional information to be actionable
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v4.2.2
Python Version
3.11
Steps to Reproduce
A Python3 client script that uses the pynetbox REST API client implementation fetches IP addresses from Netbox via the API call netbox.ipam.ip_addresses.filter(parent = prefixes) where prefixes is a list of IP networks as strings.
Expected Behavior
Every call of that script returns the expected number of IP addresses.
Observed Behavior
Sometimes, unfortunately only randomly, some IP addresses (a couple of dozen out of nearly 5000) are missing.
netbox.ipam.ip_addresses.all() reliably returns all IPs every time.
netbox.ipam.ip_addresses.filter(parent = prefix) with only one prefix at a time also seems to reliably return the requested IPs.
The text was updated successfully, but these errors were encountered: