[PR #902] [MERGED] Closes #198: Support for rackless devices #12128

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/902
Author: @jeremystretch
Created: 2/17/2017
Status: Merged
Merged: 2/17/2017
Merged by: @jeremystretch

Base: developHead: rackless_devices


📝 Commits (6)

  • 073051b Initial work to support rackless devices
  • 8cd2d33 Updated device component connection forms
  • d91a873 Updated IP address assignment form
  • b5706f4 Updated circuit termination form
  • a03788f Formatting cleanup
  • 3bf2306 Fixed tests

📊 Changes

23 files changed (+680 additions, -263 deletions)

View changed files

📝 netbox/circuits/forms.py (+42 -12)
📝 netbox/dcim/api/serializers.py (+6 -3)
📝 netbox/dcim/filters.py (+3 -3)
📝 netbox/dcim/fixtures/dcim.json (+11 -0)
📝 netbox/dcim/forms.py (+278 -90)
netbox/dcim/migrations/0027_device_add_site.py (+21 -0)
netbox/dcim/migrations/0028_device_copy_rack_to_site.py (+23 -0)
netbox/dcim/migrations/0029_allow_rackless_devices.py (+26 -0)
📝 netbox/dcim/models.py (+58 -26)
📝 netbox/dcim/tables.py (+2 -4)
📝 netbox/dcim/tests/test_apis.py (+4 -0)
📝 netbox/dcim/tests/test_models.py (+8 -7)
📝 netbox/dcim/views.py (+2 -2)
📝 netbox/ipam/forms.py (+49 -15)
📝 netbox/ipam/views.py (+2 -0)
📝 netbox/project-static/js/forms.js (+14 -14)
📝 netbox/templates/dcim/consoleport_connect.html (+9 -0)
📝 netbox/templates/dcim/consoleserverport_connect.html (+10 -1)
📝 netbox/templates/dcim/device.html (+13 -5)
📝 netbox/templates/dcim/inc/device_header.html (+11 -11)

...and 3 more files

📄 Description

Added a site field to the Device model and made rack assignment optional.


🔄 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/902 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/17/2017 **Status:** ✅ Merged **Merged:** 2/17/2017 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `rackless_devices` --- ### 📝 Commits (6) - [`073051b`](https://github.com/netbox-community/netbox/commit/073051bf491df5007246221d7a4eb3c57d75dfd8) Initial work to support rackless devices - [`8cd2d33`](https://github.com/netbox-community/netbox/commit/8cd2d33496410bd6ecee44351ccf8e3331ca4988) Updated device component connection forms - [`d91a873`](https://github.com/netbox-community/netbox/commit/d91a8737c064eeb01c76050cbe494a2b09e5be19) Updated IP address assignment form - [`b5706f4`](https://github.com/netbox-community/netbox/commit/b5706f40b1248e1862e14d10959573abb5bf2adc) Updated circuit termination form - [`a03788f`](https://github.com/netbox-community/netbox/commit/a03788fe1014c88f5e698382bda5d3a6dc73a860) Formatting cleanup - [`3bf2306`](https://github.com/netbox-community/netbox/commit/3bf23067e1af3fbe56fb3be4113193d21fb8a33e) Fixed tests ### 📊 Changes **23 files changed** (+680 additions, -263 deletions) <details> <summary>View changed files</summary> 📝 `netbox/circuits/forms.py` (+42 -12) 📝 `netbox/dcim/api/serializers.py` (+6 -3) 📝 `netbox/dcim/filters.py` (+3 -3) 📝 `netbox/dcim/fixtures/dcim.json` (+11 -0) 📝 `netbox/dcim/forms.py` (+278 -90) ➕ `netbox/dcim/migrations/0027_device_add_site.py` (+21 -0) ➕ `netbox/dcim/migrations/0028_device_copy_rack_to_site.py` (+23 -0) ➕ `netbox/dcim/migrations/0029_allow_rackless_devices.py` (+26 -0) 📝 `netbox/dcim/models.py` (+58 -26) 📝 `netbox/dcim/tables.py` (+2 -4) 📝 `netbox/dcim/tests/test_apis.py` (+4 -0) 📝 `netbox/dcim/tests/test_models.py` (+8 -7) 📝 `netbox/dcim/views.py` (+2 -2) 📝 `netbox/ipam/forms.py` (+49 -15) 📝 `netbox/ipam/views.py` (+2 -0) 📝 `netbox/project-static/js/forms.js` (+14 -14) 📝 `netbox/templates/dcim/consoleport_connect.html` (+9 -0) 📝 `netbox/templates/dcim/consoleserverport_connect.html` (+10 -1) 📝 `netbox/templates/dcim/device.html` (+13 -5) 📝 `netbox/templates/dcim/inc/device_header.html` (+11 -11) _...and 3 more files_ </details> ### 📄 Description Added a `site` field to the Device model and made `rack` assignment optional. --- <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:19:46 +01:00
adam closed this issue 2025-12-29 22:19:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12128