-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Description
NetBox version
v3.2.0
Feature type
New functionality
Proposed functionality
On the current /ipam/ip-addresses/ endpoint there is currently no GET request filter for FHRP groups. I propose either allow filtering based on both assigned_object_type and assigned_object_id. Or, add a fhrpgroup_id (group_id?) field, much like the current interface_id and vminterface_id fields.
I assume being able to filter by both assigned_object_type and assigned_object_id would be more future-proof, but I am unsure of the extra technicalities of that.
Use case
In my case, I am checking a current device configuration against NetBox to see what data already exists, and what needs to be created. I can obviously pull a larger subset of IPs and then filter after the fact, but that is not ideal.
Database changes
No response
External dependencies
No response
jeremystretch and bluikko
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application