[PR #12263] [CLOSED] Adds utilization on vlan groups #13936

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12263
Author: @abhi1693
Created: 4/15/2023
Status: Closed

Base: developHead: feat/11738-vlan-group-utilization


📝 Commits (10+)

  • debed6a Update serializers.py
  • d014cb7 Update vlans.py
  • 617b0d2 Update vlans.py
  • cd97ccc Update vlangroup.html
  • 7cb990f Update vlans.py
  • 50c75b5 Update vlans.py
  • f3e8cd3 Update serializers.py
  • dfb9235 Merge remote-tracking branch 'origin/develop' into feat/11738-vlan-group-utilization
  • d6fda26 adds db annotation to calculate utilization
  • ad7faa6 optimize queries

📊 Changes

7 files changed (+37 additions, -19 deletions)

View changed files

📝 netbox/ipam/api/serializers.py (+2 -1)
📝 netbox/ipam/api/views.py (+3 -3)
📝 netbox/ipam/models/vlans.py (+3 -1)
📝 netbox/ipam/querysets.py (+13 -1)
📝 netbox/ipam/tables/vlans.py (+6 -2)
📝 netbox/ipam/views.py (+6 -11)
📝 netbox/templates/ipam/vlangroup.html (+4 -0)

📄 Description

Closes: #11738


🔄 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/12263 **Author:** [@abhi1693](https://github.com/abhi1693) **Created:** 4/15/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `feat/11738-vlan-group-utilization` --- ### 📝 Commits (10+) - [`debed6a`](https://github.com/netbox-community/netbox/commit/debed6a960af90f5fb697d6ef9c902a632e1a040) Update serializers.py - [`d014cb7`](https://github.com/netbox-community/netbox/commit/d014cb7f7cb8db0464ccaa35f0ff64d980dc38b7) Update vlans.py - [`617b0d2`](https://github.com/netbox-community/netbox/commit/617b0d2e34bcba1d65c80236cb36d85330e834ad) Update vlans.py - [`cd97ccc`](https://github.com/netbox-community/netbox/commit/cd97ccc23cf973e84fd103d3e6028382a1074f98) Update vlangroup.html - [`7cb990f`](https://github.com/netbox-community/netbox/commit/7cb990fd2d838529939507f960648539a94208e3) Update vlans.py - [`50c75b5`](https://github.com/netbox-community/netbox/commit/50c75b5190efe43ab2b518e42cd309fdd5c0f227) Update vlans.py - [`f3e8cd3`](https://github.com/netbox-community/netbox/commit/f3e8cd3ab714884a10a04c099138de564bc253ea) Update serializers.py - [`dfb9235`](https://github.com/netbox-community/netbox/commit/dfb9235822058d654aa415dce8c2aa290cf5cd91) Merge remote-tracking branch 'origin/develop' into feat/11738-vlan-group-utilization - [`d6fda26`](https://github.com/netbox-community/netbox/commit/d6fda266d40146e2b2ba80409a39fd08c340150d) adds db annotation to calculate utilization - [`ad7faa6`](https://github.com/netbox-community/netbox/commit/ad7faa630b5509f8436bcf105d49f7befeee567b) optimize queries ### 📊 Changes **7 files changed** (+37 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/api/serializers.py` (+2 -1) 📝 `netbox/ipam/api/views.py` (+3 -3) 📝 `netbox/ipam/models/vlans.py` (+3 -1) 📝 `netbox/ipam/querysets.py` (+13 -1) 📝 `netbox/ipam/tables/vlans.py` (+6 -2) 📝 `netbox/ipam/views.py` (+6 -11) 📝 `netbox/templates/ipam/vlangroup.html` (+4 -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 approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Closes: #11738 <!-- Please include a summary of the proposed changes below. --> --- <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:21:39 +01:00
adam closed this issue 2025-12-29 23:21: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#13936