[PR #7969] [CLOSED] Fix #6905: Assign existing prefix to VLAN from VLAN view #13305

Closed
opened 2025-12-29 22:26:39 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/7969
Author: @rhyser9
Created: 12/2/2021
Status: Closed

Base: developHead: 6905_vlan_assign_prefix


📝 Commits (3)

📊 Changes

7 files changed (+173 additions, -1 deletions)

View changed files

📝 netbox/ipam/forms/models.py (+24 -0)
📝 netbox/ipam/tables/ip.py (+22 -0)
📝 netbox/ipam/urls.py (+1 -0)
📝 netbox/ipam/views.py (+49 -1)
netbox/templates/ipam/inc/prefix_edit_header.html (+22 -0)
netbox/templates/ipam/prefix_assign.html (+47 -0)
netbox/templates/ipam/prefix_edit.html (+8 -0)

📄 Description

Fixes: #6905

Adds a prefix assign form, mimicking the IP address assign form from the Interface view. This allows the end user to view a VLAN and assign an existing prefix, instead of only creating a new prefix.

Adds PrefixAssign form, table, view, url, and template.
Adds prefix_edit_header.html, used by prefix_assign.html and prefix_edit.html


🔄 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/7969 **Author:** [@rhyser9](https://github.com/rhyser9) **Created:** 12/2/2021 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `6905_vlan_assign_prefix` --- ### 📝 Commits (3) - [`8b510b3`](https://github.com/netbox-community/netbox/commit/8b510b3b5ebc9f3b0fae98dda9285b96e7fbd4bc) netbox-community/netbox#6905: Add prefix-vlan assignment view - [`7d8a6d4`](https://github.com/netbox-community/netbox/commit/7d8a6d449da6d1c738e852dcaf4b3d604a3ea727) netbox-community/netbox#6905: Add tenant as search field to vlan prefix assign form - [`897d4d6`](https://github.com/netbox-community/netbox/commit/897d4d6f676656121f31ec7147a96070a4fc96e8) netbox-community/netbox#6905: Transform initial data for vlan prefix assign form ### 📊 Changes **7 files changed** (+173 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/forms/models.py` (+24 -0) 📝 `netbox/ipam/tables/ip.py` (+22 -0) 📝 `netbox/ipam/urls.py` (+1 -0) 📝 `netbox/ipam/views.py` (+49 -1) ➕ `netbox/templates/ipam/inc/prefix_edit_header.html` (+22 -0) ➕ `netbox/templates/ipam/prefix_assign.html` (+47 -0) ➕ `netbox/templates/ipam/prefix_edit.html` (+8 -0) </details> ### 📄 Description ### Fixes: #6905 Adds a prefix assign form, mimicking the IP address assign form from the Interface view. This allows the end user to view a VLAN and assign an existing prefix, instead of only creating a new prefix. Adds PrefixAssign form, table, view, url, and template. Adds prefix_edit_header.html, used by prefix_assign.html and prefix_edit.html --- <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 22:26:39 +01:00
adam closed this issue 2025-12-29 22:26:39 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13305