[PR #19160] [MERGED] Fixes #19110: Add filters by IP addresses to PrimaryIPFilterSet #15546

Closed
opened 2025-12-30 00:22:36 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19160
Author: @miaow2
Created: 4/12/2025
Status: Merged
Merged: 4/23/2025
Merged by: @jnovinger

Base: mainHead: 19110-primaryip-filters


📝 Commits (2)

  • 87b9c2e Add primary ip filters by address
  • 0b56197 Add tests for Device and VirtualDeviceContext models

📊 Changes

3 files changed (+36 additions, -0 deletions)

View changed files

📝 netbox/dcim/tests/test_filtersets.py (+16 -0)
📝 netbox/ipam/filtersets.py (+12 -0)
📝 netbox/virtualization/tests/test_filtersets.py (+8 -0)

📄 Description

Fixes: #19110

Add filters by IP addresses to PrimaryIPFilterSet


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/19160 **Author:** [@miaow2](https://github.com/miaow2) **Created:** 4/12/2025 **Status:** ✅ Merged **Merged:** 4/23/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `main` ← **Head:** `19110-primaryip-filters` --- ### 📝 Commits (2) - [`87b9c2e`](https://github.com/netbox-community/netbox/commit/87b9c2efc9d9e608984773fc9db0abd4fbed4de2) Add primary ip filters by address - [`0b56197`](https://github.com/netbox-community/netbox/commit/0b56197967603975f3483f1d5ee447bbc3db1a6c) Add tests for Device and VirtualDeviceContext models ### 📊 Changes **3 files changed** (+36 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/tests/test_filtersets.py` (+16 -0) 📝 `netbox/ipam/filtersets.py` (+12 -0) 📝 `netbox/virtualization/tests/test_filtersets.py` (+8 -0) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #19110 Add filters by IP addresses to `PrimaryIPFilterSet` <!-- Please include a summary of the proposed changes below. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:22:36 +01:00
adam closed this issue 2025-12-30 00:22:36 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15546