[PR #13108] [MERGED] Closes #11738: Annotate utilization on VLAN groups #14112

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13108
Author: @jeremystretch
Created: 7/6/2023
Status: Merged
Merged: 7/6/2023
Merged by: @jeremystretch

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 (+38 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 (+14 -1)
📝 netbox/ipam/tables/vlans.py (+6 -2)
📝 netbox/ipam/views.py (+6 -11)
📝 netbox/templates/ipam/vlangroup.html (+4 -0)

📄 Description

Closes: #11738

Replicates PR #12263 (new branch)


🔄 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/13108 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/6/2023 **Status:** ✅ Merged **Merged:** 7/6/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **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** (+38 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` (+14 -1) 📝 `netbox/ipam/tables/vlans.py` (+6 -2) 📝 `netbox/ipam/views.py` (+6 -11) 📝 `netbox/templates/ipam/vlangroup.html` (+4 -0) </details> ### 📄 Description ### Closes: #11738 Replicates PR #12263 (new branch) --- <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:22:33 +01:00
adam closed this issue 2025-12-29 23:22:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14112