[PR #3061] [MERGED] #54: Power modeling #12491

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3061
Author: @jeremystretch
Created: 4/11/2019
Status: Merged
Merged: 4/11/2019
Merged by: @jeremystretch

Base: develop-2.6Head: 54-power-modeling


📝 Commits (10+)

  • 5b75392 Initial work on power modeling (WIP)
  • 3b9c0e4 Fixed up models & forms
  • e06dece More power work
  • 705f82e Added filters for power panels & feeds
  • 681e201 Further work on power feed modeling
  • a208cd1 Template and table polish
  • 07bfd7c Merge branch 'develop-2.6' into 54-power-modeling
  • e0085ec Fixed table columns
  • 0e5dff2 Fix rack elevation display
  • 4884f3a Fix column links

📊 Changes

42 files changed (+2453 additions, -201 deletions)

View changed files

📝 netbox/circuits/migrations/0015_custom_tag_models.py (+1 -1)
📝 netbox/circuits/urls.py (+1 -1)
📝 netbox/dcim/api/nested_serializers.py (+24 -2)
📝 netbox/dcim/api/serializers.py (+83 -9)
📝 netbox/dcim/api/urls.py (+4 -0)
📝 netbox/dcim/api/views.py (+27 -4)
📝 netbox/dcim/constants.py (+39 -1)
📝 netbox/dcim/filters.py (+88 -4)
📝 netbox/dcim/fixtures/dcim.json (+25 -25)
📝 netbox/dcim/forms.py (+560 -28)
📝 netbox/dcim/migrations/0070_custom_tag_models.py (+1 -1)
netbox/dcim/migrations/0072_powerfeeds.py (+133 -0)
📝 netbox/dcim/models.py (+317 -4)
📝 netbox/dcim/tables.py (+54 -2)
📝 netbox/dcim/tests/test_api.py (+259 -2)
📝 netbox/dcim/urls.py (+30 -8)
📝 netbox/dcim/views.py (+215 -15)
📝 netbox/extras/migrations/0019_tag_taggeditem.py (+1 -1)
📝 netbox/extras/migrations/0020_tag_data.py (+1 -1)
📝 netbox/extras/migrations/0021_add_color_comments_changelog_to_tag.py (+1 -1)

...and 22 more files

📄 Description

Adds two new models: Power panels and power feeds. Power ports can be connected (1:1) to power feeds.


🔄 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/3061 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/11/2019 **Status:** ✅ Merged **Merged:** 4/11/2019 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop-2.6` ← **Head:** `54-power-modeling` --- ### 📝 Commits (10+) - [`5b75392`](https://github.com/netbox-community/netbox/commit/5b753923b61748c947877bd0db5569c906a3e895) Initial work on power modeling (WIP) - [`3b9c0e4`](https://github.com/netbox-community/netbox/commit/3b9c0e4c67665bf848a8a0d93784f5f56776da38) Fixed up models & forms - [`e06dece`](https://github.com/netbox-community/netbox/commit/e06dece00c148a0a397662f9dbaf36d33616172e) More power work - [`705f82e`](https://github.com/netbox-community/netbox/commit/705f82e416c7071d15d08c61ee075744ec485417) Added filters for power panels & feeds - [`681e201`](https://github.com/netbox-community/netbox/commit/681e20133a8aacf1a764c28ec1b3235eb806e04d) Further work on power feed modeling - [`a208cd1`](https://github.com/netbox-community/netbox/commit/a208cd156d0f2a2bfa1b953672c3a6e39224090b) Template and table polish - [`07bfd7c`](https://github.com/netbox-community/netbox/commit/07bfd7c8e54073582227be3e7317fe889ef5f1d9) Merge branch 'develop-2.6' into 54-power-modeling - [`e0085ec`](https://github.com/netbox-community/netbox/commit/e0085ec8190bf2dc80a5710c941f9f27b8adc1c6) Fixed table columns - [`0e5dff2`](https://github.com/netbox-community/netbox/commit/0e5dff212e61a6f8237321f8eb125c1dc131ba6b) Fix rack elevation display - [`4884f3a`](https://github.com/netbox-community/netbox/commit/4884f3ac778cb27b153730c049900e7727a68894) Fix column links ### 📊 Changes **42 files changed** (+2453 additions, -201 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/migrations/0015_custom_tag_models.py` (+1 -1) 📝 `netbox/circuits/urls.py` (+1 -1) 📝 `netbox/dcim/api/nested_serializers.py` (+24 -2) 📝 `netbox/dcim/api/serializers.py` (+83 -9) 📝 `netbox/dcim/api/urls.py` (+4 -0) 📝 `netbox/dcim/api/views.py` (+27 -4) 📝 `netbox/dcim/constants.py` (+39 -1) 📝 `netbox/dcim/filters.py` (+88 -4) 📝 `netbox/dcim/fixtures/dcim.json` (+25 -25) 📝 `netbox/dcim/forms.py` (+560 -28) 📝 `netbox/dcim/migrations/0070_custom_tag_models.py` (+1 -1) ➕ `netbox/dcim/migrations/0072_powerfeeds.py` (+133 -0) 📝 `netbox/dcim/models.py` (+317 -4) 📝 `netbox/dcim/tables.py` (+54 -2) 📝 `netbox/dcim/tests/test_api.py` (+259 -2) 📝 `netbox/dcim/urls.py` (+30 -8) 📝 `netbox/dcim/views.py` (+215 -15) 📝 `netbox/extras/migrations/0019_tag_taggeditem.py` (+1 -1) 📝 `netbox/extras/migrations/0020_tag_data.py` (+1 -1) 📝 `netbox/extras/migrations/0021_add_color_comments_changelog_to_tag.py` (+1 -1) _...and 22 more files_ </details> ### 📄 Description Adds two new models: Power panels and power feeds. Power ports can be connected (1:1) to power feeds. --- <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:53 +01:00
adam closed this issue 2025-12-29 22:21:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12491