[PR #3144] [CLOSED] Decrement available phase power where consumed #12507

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3144
Author: @ghost
Created: 5/3/2019
Status: Closed

Base: developHead: available_power_stats


📝 Commits (1)

  • ec72bda Decrement available phase power where consumed

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 netbox/dcim/models.py (+5 -2)

📄 Description

Fixes:

#3143

This will make the Available Power number more relevant in the Power Utilization panel
where this has been consumed by other devices.
Currently this is fairly static and requires the user to perform mental arithmetic to understand the
remaining resource value.


🔄 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/3144 **Author:** [@ghost](https://github.com/ghost) **Created:** 5/3/2019 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `available_power_stats` --- ### 📝 Commits (1) - [`ec72bda`](https://github.com/netbox-community/netbox/commit/ec72bdab2a8a4c98cb4b088f6635eaf081d8f975) Decrement available phase power where consumed ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/models.py` (+5 -2) </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. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #3143 <!-- Please include a summary of the proposed changes below. --> This will make the Available Power number more relevant in the Power Utilization panel where this has been consumed by other devices. Currently this is fairly static and requires the user to perform mental arithmetic to understand the remaining resource value. --- <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:21:58 +01:00
adam closed this issue 2025-12-29 22:21:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12507