Add ability to filter IP addresses by name of assigned interface #2616

Closed
opened 2025-12-29 18:20:26 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (May 15, 2019).

Environment

  • Python version: 3.5.2
  • NetBox version: 2.5.12

Proposed Functionality

Add an interface filter to the IP address list view and API endpoint.

Use Case

Currently, the IP address filter set has an interface_id filter, which requires the user to know the numeric ID (PK) of the interface. Adding an interface filter to match on the interface name allows for more convenient filtering. For example: GET /api/ipam/ip-addresses/?device=router3&interface=xe-0/1/2

Database Changes

None

External Dependencies

None

Originally created by @jeremystretch on GitHub (May 15, 2019). ### Environment * Python version: 3.5.2 * NetBox version: 2.5.12 ### Proposed Functionality Add an `interface` filter to the IP address list view and API endpoint. ### Use Case Currently, the IP address filter set has an `interface_id` filter, which requires the user to know the numeric ID (PK) of the interface. Adding an `interface` filter to match on the interface name allows for more convenient filtering. For example: `GET /api/ipam/ip-addresses/?device=router3&interface=xe-0/1/2` ### Database Changes None ### External Dependencies None
adam added the status: acceptedtype: feature labels 2025-12-29 18:20:26 +01:00
adam closed this issue 2025-12-29 18:20:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2616