mask_length__(lte|gte)
filter for IP addresses
#14101
Labels
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
NetBox version
v3.6.4
Feature type
New functionality
Proposed functionality
The
ipam/prefixes
API endpoint has themask_length__gte
andmask_length__lte
filters while theipam/ip-addresses
endpoint only hasmask_length
. I propose to add thegte
andlte
filters to the IP addresses endpoint as well.I can make a PR for this if accepted.
Use case
I would like to get all point to point interfaces (interfaces with an address with a mask length >= 30 for IPv4 or >= 126 for IPv6).
Database changes
None
External dependencies
None
The text was updated successfully, but these errors were encountered: