[PR #197] [MERGED] Device bays #12002

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/197
Author: @jeremystretch
Created: 7/5/2016
Status: Merged
Merged: 7/5/2016
Merged by: @jeremystretch

Base: developHead: device-bays


📝 Commits (10+)

  • 067f22e Initial work on #91: Support for subdevices
  • 0123dbc Initial work on #91: Support for subdevices
  • 06a38d8 Merge branch 'device-bays' of github.com:digitalocean/netbox into device-bays
  • 7eae636 Added DeviceType to device bays table
  • 97fbfee Extended API to include DeviceBays
  • 80c8d2f Added parent_device to DeviceSerializer
  • 1450212 Minor version increment for new feature (device bays)
  • c57e63f Fixed API tests
  • 34c332d Updated documentation to include device bays
  • fc9aa03 Improved device bay documentation

📊 Changes

24 files changed (+677 additions, -4423 deletions)

View changed files

📝 docs/dcim.md (+7 -3)
docs/schema.sql (+0 -4391)
📝 netbox/dcim/admin.py (+20 -4)
📝 netbox/dcim/api/serializers.py (+47 -6)
📝 netbox/dcim/api/urls.py (+1 -0)
📝 netbox/dcim/api/views.py (+29 -2)
📝 netbox/dcim/forms.py (+48 -5)
netbox/dcim/migrations/0004_auto_20160701_2049.py (+56 -0)
📝 netbox/dcim/models.py (+84 -2)
📝 netbox/dcim/tables.py (+16 -2)
📝 netbox/dcim/tests/test_apis.py (+2 -0)
📝 netbox/dcim/urls.py (+13 -1)
📝 netbox/dcim/views.py (+153 -4)
📝 netbox/netbox/settings.py (+1 -1)
📝 netbox/templates/dcim/_rack_elevation.html (+6 -1)
📝 netbox/templates/dcim/device.html (+25 -1)
netbox/templates/dcim/devicebay_delete.html (+8 -0)
netbox/templates/dcim/devicebay_depopulate.html (+8 -0)
netbox/templates/dcim/devicebay_edit.html (+51 -0)
netbox/templates/dcim/devicebay_populate.html (+46 -0)

...and 4 more files

📄 Description

Introduces support for devices which are physically mounted within other devices


🔄 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/197 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/5/2016 **Status:** ✅ Merged **Merged:** 7/5/2016 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `device-bays` --- ### 📝 Commits (10+) - [`067f22e`](https://github.com/netbox-community/netbox/commit/067f22e4445358e5adf93956d131199df2b776b7) Initial work on #91: Support for subdevices - [`0123dbc`](https://github.com/netbox-community/netbox/commit/0123dbcf5fc108065b52e94566ac6688e3781bbe) Initial work on #91: Support for subdevices - [`06a38d8`](https://github.com/netbox-community/netbox/commit/06a38d836c4921c21f6fa4dfe7f4fcb922a56d95) Merge branch 'device-bays' of github.com:digitalocean/netbox into device-bays - [`7eae636`](https://github.com/netbox-community/netbox/commit/7eae63656267e469f931654a57109db456468fa3) Added DeviceType to device bays table - [`97fbfee`](https://github.com/netbox-community/netbox/commit/97fbfeecc3b390750e5d02799ef4dfaa619bd3cc) Extended API to include DeviceBays - [`80c8d2f`](https://github.com/netbox-community/netbox/commit/80c8d2f0c08360dc1716d4c53d0a74dd1ecbef65) Added parent_device to DeviceSerializer - [`1450212`](https://github.com/netbox-community/netbox/commit/14502123d86469c407496d17bb8feb3f5c2ba23e) Minor version increment for new feature (device bays) - [`c57e63f`](https://github.com/netbox-community/netbox/commit/c57e63ff00cb66338cc2f85b710b522298229c39) Fixed API tests - [`34c332d`](https://github.com/netbox-community/netbox/commit/34c332d16577def410a5738be6693e30e857bb41) Updated documentation to include device bays - [`fc9aa03`](https://github.com/netbox-community/netbox/commit/fc9aa03dc1159980447b5fdfc96d8a2a61f92312) Improved device bay documentation ### 📊 Changes **24 files changed** (+677 additions, -4423 deletions) <details> <summary>View changed files</summary> 📝 `docs/dcim.md` (+7 -3) ➖ `docs/schema.sql` (+0 -4391) 📝 `netbox/dcim/admin.py` (+20 -4) 📝 `netbox/dcim/api/serializers.py` (+47 -6) 📝 `netbox/dcim/api/urls.py` (+1 -0) 📝 `netbox/dcim/api/views.py` (+29 -2) 📝 `netbox/dcim/forms.py` (+48 -5) ➕ `netbox/dcim/migrations/0004_auto_20160701_2049.py` (+56 -0) 📝 `netbox/dcim/models.py` (+84 -2) 📝 `netbox/dcim/tables.py` (+16 -2) 📝 `netbox/dcim/tests/test_apis.py` (+2 -0) 📝 `netbox/dcim/urls.py` (+13 -1) 📝 `netbox/dcim/views.py` (+153 -4) 📝 `netbox/netbox/settings.py` (+1 -1) 📝 `netbox/templates/dcim/_rack_elevation.html` (+6 -1) 📝 `netbox/templates/dcim/device.html` (+25 -1) ➕ `netbox/templates/dcim/devicebay_delete.html` (+8 -0) ➕ `netbox/templates/dcim/devicebay_depopulate.html` (+8 -0) ➕ `netbox/templates/dcim/devicebay_edit.html` (+51 -0) ➕ `netbox/templates/dcim/devicebay_populate.html` (+46 -0) _...and 4 more files_ </details> ### 📄 Description Introduces support for devices which are physically mounted within other devices --- <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:05 +01:00
adam closed this issue 2025-12-29 22:19:06 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12002