[PR #15673] [MERGED] Fixes #15640: add identifier field to search index of l2vpn #14638

Closed
opened 2025-12-29 23:25:41 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15673
Author: @rwxd
Created: 4/9/2024
Status: Merged
Merged: 4/15/2024
Merged by: @jeremystretch

Base: developHead: 15640-indexing-l2vpn-identifier


📝 Commits (1)

  • 63226a3 Fixes #15640: add identifier field to search index of l2vpn

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 netbox/vpn/search.py (+1 -0)

📄 Description

Fixes: #15640

This PR adds the identifier field of L2VPN to the corresponding search index.

We use it e.g., to note the VXLAN ID, this helps the users to find the correct L2VPN object for a VXLAN, through the global search.

I made the weight to 200 for "Secondary identifier". Other indexes use 200 for label, I hope it is correct.

image


🔄 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/15673 **Author:** [@rwxd](https://github.com/rwxd) **Created:** 4/9/2024 **Status:** ✅ Merged **Merged:** 4/15/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15640-indexing-l2vpn-identifier` --- ### 📝 Commits (1) - [`63226a3`](https://github.com/netbox-community/netbox/commit/63226a388fd8e9ed611cf4b71a302b54bdeb6d40) Fixes #15640: add identifier field to search index of l2vpn ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/vpn/search.py` (+1 -0) </details> ### 📄 Description ### Fixes: #15640 <!-- Please include a summary of the proposed changes below. --> This PR adds the `identifier` field of `L2VPN` to the corresponding search index. We use it e.g., to note the VXLAN ID, this helps the users to find the correct L2VPN object for a VXLAN, through the global search. I made the weight to 200 for "Secondary identifier". Other indexes use 200 for `label`, I hope it is correct. ![image](https://github.com/netbox-community/netbox/assets/40308458/d22268fc-ef3d-4670-ad6c-e5066d8bc430) --- <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-29 23:25:41 +01:00
adam closed this issue 2025-12-29 23:25:41 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14638