[PR #13617] [CLOSED] Fixes: #11466 - Add device field to L2VPNTermination for assigning vlan terminations to devices #14221

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13617
Author: @DanSheps
Created: 8/30/2023
Status: Closed

Base: featureHead: 11466-assign-vlans-to-devices-for-l2vpn


📝 Commits (10+)

  • 720a813 Add device field to L2VPNTermination for assigning vlan terminations to devices
  • 3c78f5a Add device to L2VPNTermination view.
  • 84e70ea Merge branch 'feature' into 11466-assign-vlans-to-devices-for-l2vpn
  • 5ab6331 Update filtersets.py
  • 21ca8d7 Merge in updated feature
  • a3543e4 Add new VLANDeviceMapping model and appropriate views, filters, forms, api and graphql objects.
  • 4c6fe20 Add model
  • 51b432f Add filter for l2vpn and comment out vid.
  • 80746ed Fix views test
  • 65b44c1 Merge branch 'feature' of https://github.com/netbox-community/netbox into 11466-assign-vlans-to-devices-for-l2vpn

📊 Changes

28 files changed (+695 additions, -40 deletions)

View changed files

📝 netbox/ipam/api/nested_serializers.py (+9 -0)
📝 netbox/ipam/api/serializers.py (+14 -0)
📝 netbox/ipam/api/urls.py (+1 -0)
📝 netbox/ipam/api/views.py (+8 -0)
📝 netbox/ipam/filtersets.py (+67 -1)
📝 netbox/ipam/forms/bulk_import.py (+20 -0)
📝 netbox/ipam/forms/filtersets.py (+27 -0)
📝 netbox/ipam/forms/model_forms.py (+19 -0)
📝 netbox/ipam/graphql/schema.py (+6 -0)
📝 netbox/ipam/graphql/types.py (+9 -0)
netbox/ipam/migrations/0069_vlandevicemappings.py (+41 -0)
📝 netbox/ipam/models/vlans.py (+57 -0)
📝 netbox/ipam/tables/vlans.py (+25 -0)
📝 netbox/ipam/tests/test_api.py (+51 -0)
📝 netbox/ipam/tests/test_filtersets.py (+92 -0)
📝 netbox/ipam/tests/test_views.py (+66 -0)
📝 netbox/ipam/urls.py (+7 -0)
📝 netbox/ipam/views.py (+38 -0)
📝 netbox/netbox/navigation/menu.py (+1 -0)
netbox/templates/ipam/vlandevicemapping.html (+38 -0)

...and 8 more files

📄 Description

Fixes: #11466 - Add device field to L2VPNTermination for assigning vlan terminations to devices

  • Add device field to L2VPNTermination model
  • Add related fields to relevant forms, tables, filters and views.

🔄 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/13617 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 8/30/2023 **Status:** ❌ Closed **Base:** `feature` ← **Head:** `11466-assign-vlans-to-devices-for-l2vpn` --- ### 📝 Commits (10+) - [`720a813`](https://github.com/netbox-community/netbox/commit/720a81353f9049867d297d145a15fb664b14b622) Add `device` field to L2VPNTermination for assigning vlan terminations to devices - [`3c78f5a`](https://github.com/netbox-community/netbox/commit/3c78f5aba35c18b9e473288857859a547b2dd7f4) Add device to L2VPNTermination view. - [`84e70ea`](https://github.com/netbox-community/netbox/commit/84e70eaeb08eb62bb2fbc14751159a6b1f717c8b) Merge branch 'feature' into 11466-assign-vlans-to-devices-for-l2vpn - [`5ab6331`](https://github.com/netbox-community/netbox/commit/5ab633120b942d764a5a0b118c479bce97fd416c) Update filtersets.py - [`21ca8d7`](https://github.com/netbox-community/netbox/commit/21ca8d7d6d267b755ddd69f26e6dfc447ab279b6) Merge in updated feature - [`a3543e4`](https://github.com/netbox-community/netbox/commit/a3543e4c7b3ab87ba3155cf42e1c08df729541d3) Add new VLANDeviceMapping model and appropriate views, filters, forms, api and graphql objects. - [`4c6fe20`](https://github.com/netbox-community/netbox/commit/4c6fe20e2e52719778419a83263b94acb218d3d5) Add model - [`51b432f`](https://github.com/netbox-community/netbox/commit/51b432f7e9b8c8ce850dba3e99619f2f14ef9757) Add filter for l2vpn and comment out vid. - [`80746ed`](https://github.com/netbox-community/netbox/commit/80746ed45df1c8da061e2f5caa6edd7e72f28e9a) Fix views test - [`65b44c1`](https://github.com/netbox-community/netbox/commit/65b44c1c982499b259d3ae0625243dcdfbe282fb) Merge branch 'feature' of https://github.com/netbox-community/netbox into 11466-assign-vlans-to-devices-for-l2vpn ### 📊 Changes **28 files changed** (+695 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/api/nested_serializers.py` (+9 -0) 📝 `netbox/ipam/api/serializers.py` (+14 -0) 📝 `netbox/ipam/api/urls.py` (+1 -0) 📝 `netbox/ipam/api/views.py` (+8 -0) 📝 `netbox/ipam/filtersets.py` (+67 -1) 📝 `netbox/ipam/forms/bulk_import.py` (+20 -0) 📝 `netbox/ipam/forms/filtersets.py` (+27 -0) 📝 `netbox/ipam/forms/model_forms.py` (+19 -0) 📝 `netbox/ipam/graphql/schema.py` (+6 -0) 📝 `netbox/ipam/graphql/types.py` (+9 -0) ➕ `netbox/ipam/migrations/0069_vlandevicemappings.py` (+41 -0) 📝 `netbox/ipam/models/vlans.py` (+57 -0) 📝 `netbox/ipam/tables/vlans.py` (+25 -0) 📝 `netbox/ipam/tests/test_api.py` (+51 -0) 📝 `netbox/ipam/tests/test_filtersets.py` (+92 -0) 📝 `netbox/ipam/tests/test_views.py` (+66 -0) 📝 `netbox/ipam/urls.py` (+7 -0) 📝 `netbox/ipam/views.py` (+38 -0) 📝 `netbox/netbox/navigation/menu.py` (+1 -0) ➕ `netbox/templates/ipam/vlandevicemapping.html` (+38 -0) _...and 8 more files_ </details> ### 📄 Description ### Fixes: #11466 - Add `device` field to L2VPNTermination for assigning vlan terminations to devices * Add `device` field to L2VPNTermination model * Add related fields to relevant forms, tables, filters and views. --- <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:23:15 +01:00
adam closed this issue 2025-12-29 23:23:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14221