Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting filtering prefixes and IP addresses by mask length #901

Closed
jeremystretch opened this issue Feb 17, 2017 · 0 comments
Closed

Supporting filtering prefixes and IP addresses by mask length #901

jeremystretch opened this issue Feb 17, 2017 · 0 comments
Labels
type: feature Introduction of new functionality to the application

Comments

@jeremystretch
Copy link
Member

PostgreSQL provides a masklen() function to match on the mask length of a prefix or IP address. Should be trivial to write a filter to support matching masks equal to, greater than, or less than a given value. (This would probably need to be used in conjunction with filtering by address family.)

@jeremystretch jeremystretch added the type: feature Introduction of new functionality to the application label Feb 17, 2017
lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant