[PR #13300] [MERGED] Adds tenant on power feed #14149

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13300
Author: @abhi1693
Created: 7/29/2023
Status: Merged
Merged: 7/31/2023
Merged by: @jeremystretch

Base: featureHead: feat/12210-power-tenant


📝 Commits (4)

  • 51a1587 adds tenant on power feed
  • 7f81b65 cleanup
  • cf980bc adds power feed count on tenant object view
  • 0803feb Misc cleanup; add filterset tests

📊 Changes

13 files changed (+137 additions, -18 deletions)

View changed files

📝 netbox/dcim/api/serializers.py (+5 -1)
📝 netbox/dcim/fields.py (+0 -1)
📝 netbox/dcim/filtersets.py (+1 -1)
📝 netbox/dcim/forms/bulk_edit.py (+6 -2)
📝 netbox/dcim/forms/bulk_import.py (+7 -1)
📝 netbox/dcim/forms/filtersets.py (+2 -1)
📝 netbox/dcim/forms/model_forms.py (+3 -2)
netbox/dcim/migrations/0180_powerfeed_tenant.py (+20 -0)
📝 netbox/dcim/models/power.py (+8 -1)
📝 netbox/dcim/tables/power.py (+7 -4)
📝 netbox/dcim/tests/test_filtersets.py (+67 -3)
📝 netbox/templates/dcim/powerfeed.html (+9 -0)
📝 netbox/tenancy/views.py (+2 -1)

📄 Description

Fixes: #12210


🔄 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/13300 **Author:** [@abhi1693](https://github.com/abhi1693) **Created:** 7/29/2023 **Status:** ✅ Merged **Merged:** 7/31/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `feat/12210-power-tenant` --- ### 📝 Commits (4) - [`51a1587`](https://github.com/netbox-community/netbox/commit/51a15873bc7652d2de49979aac69d1f83f83a343) adds tenant on power feed - [`7f81b65`](https://github.com/netbox-community/netbox/commit/7f81b6531d229a740fbcc6dc62d6c9f451bb3939) cleanup - [`cf980bc`](https://github.com/netbox-community/netbox/commit/cf980bcc6318b3f275dcbf57eabf474db4a73f21) adds power feed count on tenant object view - [`0803feb`](https://github.com/netbox-community/netbox/commit/0803feb032d2ce50235d4dda5be40e944710641b) Misc cleanup; add filterset tests ### 📊 Changes **13 files changed** (+137 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/api/serializers.py` (+5 -1) 📝 `netbox/dcim/fields.py` (+0 -1) 📝 `netbox/dcim/filtersets.py` (+1 -1) 📝 `netbox/dcim/forms/bulk_edit.py` (+6 -2) 📝 `netbox/dcim/forms/bulk_import.py` (+7 -1) 📝 `netbox/dcim/forms/filtersets.py` (+2 -1) 📝 `netbox/dcim/forms/model_forms.py` (+3 -2) ➕ `netbox/dcim/migrations/0180_powerfeed_tenant.py` (+20 -0) 📝 `netbox/dcim/models/power.py` (+8 -1) 📝 `netbox/dcim/tables/power.py` (+7 -4) 📝 `netbox/dcim/tests/test_filtersets.py` (+67 -3) 📝 `netbox/templates/dcim/powerfeed.html` (+9 -0) 📝 `netbox/tenancy/views.py` (+2 -1) </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. --> ### Fixes: #12210 <!-- 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:22:48 +01:00
adam closed this issue 2025-12-29 23:22: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#14149