[PR #19873] [MERGED] Closes #18811: Match full-form IPv6 addresses in global search #15742

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19873
Author: @jeremystretch
Created: 7/14/2025
Status: Merged
Merged: 7/14/2025
Merged by: @jnovinger

Base: mainHead: 18811-global-search-ipv6-full


📝 Commits (2)

📊 Changes

3 files changed (+35 additions, -4 deletions)

View changed files

📝 netbox/extras/lookups.py (+15 -1)
📝 netbox/ipam/models/ip.py (+15 -0)
📝 netbox/netbox/search/backends.py (+5 -3)

📄 Description

Closes: #18811

  • Introduce an equivalent NetHost lookup specifically for cached IP address values
  • Extend the search backend to employ this filter under certain conditions
  • Add a normalized ipv6_full property on the Aggregate, Prefix, and IPAddress models (for general use)

🔄 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/19873 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/14/2025 **Status:** ✅ Merged **Merged:** 7/14/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `main` ← **Head:** `18811-global-search-ipv6-full` --- ### 📝 Commits (2) - [`cb5bf5d`](https://github.com/netbox-community/netbox/commit/cb5bf5dbbd40b52a1856eab5a6c75c9fbf0e0b9e) Closes #18811: Match full-form IPv6 addresses in global search - [`fb9607d`](https://github.com/netbox-community/netbox/commit/fb9607d2fe36e5a22646d910916277c1e2c21487) Fix typo ### 📊 Changes **3 files changed** (+35 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/lookups.py` (+15 -1) 📝 `netbox/ipam/models/ip.py` (+15 -0) 📝 `netbox/netbox/search/backends.py` (+5 -3) </details> ### 📄 Description ### Closes: #18811 - Introduce an equivalent NetHost lookup specifically for cached IP address values - Extend the search backend to employ this filter under certain conditions - Add a normalized `ipv6_full` property on the Aggregate, Prefix, and IPAddress models (for general use) --- <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:23:46 +01:00
adam closed this issue 2025-12-30 00:23:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15742