[PR #14358] [MERGED] Closes #14311: Move L2VPN models from ipam to vpn #14370

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/14358
Author: @jeremystretch
Created: 11/27/2023
Status: Merged
Merged: 11/28/2023
Merged by: @jeremystretch

Base: featureHead: 14311-move-l2vpn


📝 Commits (4)

  • 8e9e1e9 Move L2VPN and L2VPNTermination models from ipam to vpn
  • 0195c06 Move L2VPN resources from ipam to vpn
  • 6a7d909 Extend migration to update content types
  • defb7d9 Misc cleanup

📊 Changes

66 files changed (+1616 additions, -1441 deletions)

View changed files

📝 netbox/dcim/api/serializers.py (+3 -3)
📝 netbox/dcim/filtersets.py (+2 -1)
📝 netbox/dcim/forms/filtersets.py (+2 -1)
📝 netbox/dcim/models/device_components.py (+1 -1)
📝 netbox/dcim/tables/template_code.py (+2 -2)
📝 netbox/ipam/api/nested_serializers.py (+0 -28)
📝 netbox/ipam/api/serializers.py (+2 -52)
📝 netbox/ipam/api/urls.py (+0 -2)
📝 netbox/ipam/api/views.py (+0 -13)
📝 netbox/ipam/choices.py (+0 -49)
📝 netbox/ipam/constants.py (+0 -6)
📝 netbox/ipam/filtersets.py (+2 -179)
📝 netbox/ipam/forms/bulk_edit.py (+0 -31)
📝 netbox/ipam/forms/bulk_import.py (+0 -92)
📝 netbox/ipam/forms/filtersets.py (+2 -93)
📝 netbox/ipam/forms/model_forms.py (+0 -96)
📝 netbox/ipam/graphql/schema.py (+2 -15)
📝 netbox/ipam/graphql/types.py (+0 -19)
netbox/ipam/migrations/0068_move_l2vpn.py (+64 -0)
📝 netbox/ipam/models/__init__.py (+0 -22)

...and 46 more files

📄 Description

Closes: #14311

Relocates the L2VPN and L2VPNTermination models, as well as all their related resources, from the ipam app to the new vpn app introduced by #9816.


🔄 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/14358 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 11/27/2023 **Status:** ✅ Merged **Merged:** 11/28/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `14311-move-l2vpn` --- ### 📝 Commits (4) - [`8e9e1e9`](https://github.com/netbox-community/netbox/commit/8e9e1e9e64028916f37497b3b697476de80574d6) Move L2VPN and L2VPNTermination models from ipam to vpn - [`0195c06`](https://github.com/netbox-community/netbox/commit/0195c0686363efb822cf2a06e0d42d3fea593e60) Move L2VPN resources from ipam to vpn - [`6a7d909`](https://github.com/netbox-community/netbox/commit/6a7d909757bd339db30a58989ddd3e23fd1db683) Extend migration to update content types - [`defb7d9`](https://github.com/netbox-community/netbox/commit/defb7d944a0d90b8a61dd21920660e7783926ff3) Misc cleanup ### 📊 Changes **66 files changed** (+1616 additions, -1441 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/api/serializers.py` (+3 -3) 📝 `netbox/dcim/filtersets.py` (+2 -1) 📝 `netbox/dcim/forms/filtersets.py` (+2 -1) 📝 `netbox/dcim/models/device_components.py` (+1 -1) 📝 `netbox/dcim/tables/template_code.py` (+2 -2) 📝 `netbox/ipam/api/nested_serializers.py` (+0 -28) 📝 `netbox/ipam/api/serializers.py` (+2 -52) 📝 `netbox/ipam/api/urls.py` (+0 -2) 📝 `netbox/ipam/api/views.py` (+0 -13) 📝 `netbox/ipam/choices.py` (+0 -49) 📝 `netbox/ipam/constants.py` (+0 -6) 📝 `netbox/ipam/filtersets.py` (+2 -179) 📝 `netbox/ipam/forms/bulk_edit.py` (+0 -31) 📝 `netbox/ipam/forms/bulk_import.py` (+0 -92) 📝 `netbox/ipam/forms/filtersets.py` (+2 -93) 📝 `netbox/ipam/forms/model_forms.py` (+0 -96) 📝 `netbox/ipam/graphql/schema.py` (+2 -15) 📝 `netbox/ipam/graphql/types.py` (+0 -19) ➕ `netbox/ipam/migrations/0068_move_l2vpn.py` (+64 -0) 📝 `netbox/ipam/models/__init__.py` (+0 -22) _...and 46 more files_ </details> ### 📄 Description ### Closes: #14311 Relocates the L2VPN and L2VPNTermination models, as well as all their related resources, from the `ipam` app to the new `vpn` app introduced by #9816. --- <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:24:06 +01:00
adam closed this issue 2025-12-29 23:24:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14370