[PR #2096] [MERGED] Implement VLANGroup VLANs view to show available VLANs within a group #12310

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2096
Author: @bashioo
Created: 5/17/2018
Status: Merged
Merged: 8/1/2018
Merged by: @jeremystretch

Base: developHead: vlangroup_vlans


📝 Commits (3)

  • 4557b28 Added available VLANs view to VLAN Groups
  • d6385e0 fixed spaces
  • a4f8a16 fixed exception for groups without site

📊 Changes

6 files changed (+118 additions, -3 deletions)

View changed files

📝 netbox/ipam/models.py (+1 -1)
📝 netbox/ipam/tables.py (+15 -2)
📝 netbox/ipam/urls.py (+1 -0)
📝 netbox/ipam/views.py (+63 -0)
netbox/templates/ipam/inc/vlangroup_header.html (+14 -0)
netbox/templates/ipam/vlangroup_vlans.html (+24 -0)

📄 Description

Implements: #971

Created a new View for available VLANs within a VLANGroup. Changed absolute url for VLANGroups to point to the new View instead of VLAN list.
image

Live demo: http://114.142.160.109:8000/ipam/vlan-groups/1/vlans/


🔄 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/2096 **Author:** [@bashioo](https://github.com/bashioo) **Created:** 5/17/2018 **Status:** ✅ Merged **Merged:** 8/1/2018 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `vlangroup_vlans` --- ### 📝 Commits (3) - [`4557b28`](https://github.com/netbox-community/netbox/commit/4557b28b23dd68b3aaeb22c833709096c4d4aa9c) Added available VLANs view to VLAN Groups - [`d6385e0`](https://github.com/netbox-community/netbox/commit/d6385e03a115263f460109fa4670d960068d5b3a) fixed spaces - [`a4f8a16`](https://github.com/netbox-community/netbox/commit/a4f8a16c73100b8339e679561e6cb5af2527dfc6) fixed exception for groups without site ### 📊 Changes **6 files changed** (+118 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/models.py` (+1 -1) 📝 `netbox/ipam/tables.py` (+15 -2) 📝 `netbox/ipam/urls.py` (+1 -0) 📝 `netbox/ipam/views.py` (+63 -0) ➕ `netbox/templates/ipam/inc/vlangroup_header.html` (+14 -0) ➕ `netbox/templates/ipam/vlangroup_vlans.html` (+24 -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 opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. --> ### Implements: #971 <!-- Please include a summary of the proposed changes below. --> Created a new View for available VLANs within a VLANGroup. Changed absolute url for VLANGroups to point to the new View instead of VLAN list. ![image](https://user-images.githubusercontent.com/26398713/40400315-f33682a4-5e84-11e8-88fd-4f275d72410c.png) Live demo: http://114.142.160.109:8000/ipam/vlan-groups/1/vlans/ --- <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:20:48 +01:00
adam closed this issue 2025-12-29 22:20:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12310