[PR #12778] [MERGED] 12175 rack with starting unit > 1 #14044

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12778
Author: @arthanson
Created: 5/31/2023
Status: Merged
Merged: 6/22/2023
Merged by: @jeremystretch

Base: featureHead: 12175-rack-start


📝 Commits (9)

  • ec15336 12175 add rack starting unit
  • ba9ef11 12175 rack starting unit to svg
  • 78e26ea verify devices can still fit if change rack starting_unit
  • 846620f Merge branch 'feature' into 12175-rack-start
  • 080daba 12175 fix migration
  • affc927 12175 fix typo and test
  • 1ce0484 12175 fix test
  • eb11510 12175 fix max height calc display
  • 40327cd Misc cleanup & fixes

📊 Changes

8 files changed (+55 additions, -17 deletions)

View changed files

📝 netbox/dcim/constants.py (+2 -0)
📝 netbox/dcim/forms/model_forms.py (+2 -2)
netbox/dcim/migrations/0174_rack_starting_unit.py (+17 -0)
📝 netbox/dcim/models/racks.py (+22 -13)
📝 netbox/dcim/svg/racks.py (+4 -2)
📝 netbox/dcim/tests/test_views.py (+1 -0)
📝 netbox/templates/dcim/rack.html (+6 -0)
📝 netbox/templates/dcim/rack_edit.html (+1 -0)

📄 Description

Fixes: #12175


🔄 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/12778 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 5/31/2023 **Status:** ✅ Merged **Merged:** 6/22/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `12175-rack-start` --- ### 📝 Commits (9) - [`ec15336`](https://github.com/netbox-community/netbox/commit/ec153363403809786c9a4ffad511fe6483ac609e) 12175 add rack starting unit - [`ba9ef11`](https://github.com/netbox-community/netbox/commit/ba9ef11522c539ba4c7652a062458d3f356ab3e2) 12175 rack starting unit to svg - [`78e26ea`](https://github.com/netbox-community/netbox/commit/78e26ea5914fe0aa78a4fbc67c628daf1b1178ce) verify devices can still fit if change rack starting_unit - [`846620f`](https://github.com/netbox-community/netbox/commit/846620f24ff097e324612f04a29b7951d8777fa0) Merge branch 'feature' into 12175-rack-start - [`080daba`](https://github.com/netbox-community/netbox/commit/080daba8403813082eaddddd830eac5e2be67b31) 12175 fix migration - [`affc927`](https://github.com/netbox-community/netbox/commit/affc927eb66ed72fba2364a5cbacc856ce99266c) 12175 fix typo and test - [`1ce0484`](https://github.com/netbox-community/netbox/commit/1ce0484f911f58bd682bcb7db63f153fe39b5bf4) 12175 fix test - [`eb11510`](https://github.com/netbox-community/netbox/commit/eb115108dd365ab945bafbc22b6fe46df9d2e49f) 12175 fix max height calc display - [`40327cd`](https://github.com/netbox-community/netbox/commit/40327cd82168f1b39c2c43d1d59bc0d86d859298) Misc cleanup & fixes ### 📊 Changes **8 files changed** (+55 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/constants.py` (+2 -0) 📝 `netbox/dcim/forms/model_forms.py` (+2 -2) ➕ `netbox/dcim/migrations/0174_rack_starting_unit.py` (+17 -0) 📝 `netbox/dcim/models/racks.py` (+22 -13) 📝 `netbox/dcim/svg/racks.py` (+4 -2) 📝 `netbox/dcim/tests/test_views.py` (+1 -0) 📝 `netbox/templates/dcim/rack.html` (+6 -0) 📝 `netbox/templates/dcim/rack_edit.html` (+1 -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. --> ### Fixes: #12175 <!-- 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:12 +01:00
adam closed this issue 2025-12-29 23:22:12 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14044