Move L2VPN models to new vpn app #8858

Closed
opened 2025-12-29 20:42:14 +01:00 by adam · 2 comments
Owner

Originally created by @jeremystretch on GitHub (Nov 21, 2023).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

FR #9816 (VPN tunnel modeling) has introduced a new vpn app. This issue proposes moving the L2VPN and L2VPN Termination models and all their related resources from the ipam app to the vpn app.

Justification

There was discussion at the time when L2VPN support was being added about whether it made sense to create a new app for it. Although we opted not to at the time, it would be prudent to move these now as the vpn app is a much more suitable home for these models.

Unfortunately, this will effect a breaking change in the REST API, however it should be easily manageable.

Originally created by @jeremystretch on GitHub (Nov 21, 2023). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes FR #9816 (VPN tunnel modeling) has introduced a new `vpn` app. This issue proposes moving the L2VPN and L2VPN Termination models and all their related resources from the `ipam` app to the `vpn` app. ### Justification There was discussion at the time when L2VPN support was being added about whether it made sense to create a new app for it. Although we opted not to at the time, it would be prudent to move these now as the `vpn` app is a much more suitable home for these models. Unfortunately, this will effect a breaking change in the REST API, however it should be easily manageable.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:42:14 +01:00
adam closed this issue 2025-12-29 20:42:14 +01:00
Author
Owner

@abhi1693 commented on GitHub (Nov 21, 2023):

Will bookmarks remain unaffected?

@abhi1693 commented on GitHub (Nov 21, 2023): Will bookmarks remain unaffected?
Author
Owner

@jeremystretch commented on GitHub (Nov 21, 2023):

I expect related objects, content types, etc. to all be unaffected; that's the plan at least. We've never actually moved a model between apps before IIRC, but I don't think it will be too disruptive.

@jeremystretch commented on GitHub (Nov 21, 2023): I expect related objects, content types, etc. to all be unaffected; that's the plan at least. We've never actually moved a model between apps before IIRC, but I don't _think_ it will be too disruptive.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8858