[PR #20849] [MERGED] Fixes #20844: Respect assigned object type for L2VPN terminations #16068

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20849
Author: @pheus
Created: 11/20/2025
Status: Merged
Merged: 11/20/2025
Merged by: @jeremystretch

Base: mainHead: 20844-fix-objecttype-filter-for-l2vpn-terminations


📝 Commits (1)

  • f365830 fix(filtersets): Respect assigned object type for L2VPN terminations

📊 Changes

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

View changed files

📝 netbox/vpn/filtersets.py (+5 -0)

📄 Description

Fixes: #20844

This PR adds the assigned_object_type_id filter to L2VPNTerminationFilterSet so the "Assigned object type" filter correctly restricts L2VPN terminations by their assigned object type via the ObjectType model.

Thanks! 🙏


🔄 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/20849 **Author:** [@pheus](https://github.com/pheus) **Created:** 11/20/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `main` ← **Head:** `20844-fix-objecttype-filter-for-l2vpn-terminations` --- ### 📝 Commits (1) - [`f365830`](https://github.com/netbox-community/netbox/commit/f365830f69d2964935bf36ad921139f06d4439b2) fix(filtersets): Respect assigned object type for L2VPN terminations ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/vpn/filtersets.py` (+5 -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: #20844 <!-- Please include a summary of the proposed changes below. --> This PR adds the `assigned_object_type_id` filter to `L2VPNTerminationFilterSet` so the "Assigned object type" filter correctly restricts L2VPN terminations by their assigned object type via the `ObjectType` model. Thanks! 🙏 --- <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:25:37 +01:00
adam closed this issue 2025-12-30 00:25:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#16068