[PR #7547] [MERGED] Closes #3839: Add airflow fields to Device and DeviceType #13246

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/7547
Author: @jeremystretch
Created: 10/14/2021
Status: Merged
Merged: 10/14/2021
Merged by: @jeremystretch

Base: featureHead: 3839-device-airflow


📝 Commits (2)

  • 2c2c2e9 3839: Add airflow field to DeviceType
  • 33ea876 3839: Add airflow field to Device

📊 Changes

19 files changed (+142 additions, -27 deletions)

View changed files

📝 docs/models/dcim/devicetype.md (+2 -0)
📝 docs/release-notes/version-3.1.md (+1 -0)
📝 netbox/dcim/api/serializers.py (+6 -4)
📝 netbox/dcim/choices.py (+19 -0)
📝 netbox/dcim/filtersets.py (+2 -2)
📝 netbox/dcim/forms/bulk_edit.py (+12 -2)
📝 netbox/dcim/forms/bulk_import.py (+7 -2)
📝 netbox/dcim/forms/filtersets.py (+12 -2)
📝 netbox/dcim/forms/models.py (+8 -4)
📝 netbox/dcim/forms/object_import.py (+1 -1)
📝 netbox/dcim/graphql/types.py (+6 -0)
netbox/dcim/migrations/0136_device_airflow.py (+21 -0)
📝 netbox/dcim/models/devices.py (+17 -3)
📝 netbox/dcim/tables/devices.py (+2 -2)
📝 netbox/dcim/tables/devicetypes.py (+1 -1)
📝 netbox/dcim/tests/test_filtersets.py (+12 -4)
📝 netbox/templates/dcim/device.html (+6 -0)
📝 netbox/templates/dcim/device_edit.html (+1 -0)
📝 netbox/templates/dcim/devicetype.html (+6 -0)

📄 Description

Closes: #3839

  • Add airflow field to Device and DeviceType models
  • Automatically inherit this value when instantiating a device and no value has been specified by the user

🔄 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/7547 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 10/14/2021 **Status:** ✅ Merged **Merged:** 10/14/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `3839-device-airflow` --- ### 📝 Commits (2) - [`2c2c2e9`](https://github.com/netbox-community/netbox/commit/2c2c2e9060db4b4243dbd20a9afc352f4aaa9887) 3839: Add airflow field to DeviceType - [`33ea876`](https://github.com/netbox-community/netbox/commit/33ea8763d51e6fcc3d34a29fa227eefd9238ad2a) 3839: Add airflow field to Device ### 📊 Changes **19 files changed** (+142 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `docs/models/dcim/devicetype.md` (+2 -0) 📝 `docs/release-notes/version-3.1.md` (+1 -0) 📝 `netbox/dcim/api/serializers.py` (+6 -4) 📝 `netbox/dcim/choices.py` (+19 -0) 📝 `netbox/dcim/filtersets.py` (+2 -2) 📝 `netbox/dcim/forms/bulk_edit.py` (+12 -2) 📝 `netbox/dcim/forms/bulk_import.py` (+7 -2) 📝 `netbox/dcim/forms/filtersets.py` (+12 -2) 📝 `netbox/dcim/forms/models.py` (+8 -4) 📝 `netbox/dcim/forms/object_import.py` (+1 -1) 📝 `netbox/dcim/graphql/types.py` (+6 -0) ➕ `netbox/dcim/migrations/0136_device_airflow.py` (+21 -0) 📝 `netbox/dcim/models/devices.py` (+17 -3) 📝 `netbox/dcim/tables/devices.py` (+2 -2) 📝 `netbox/dcim/tables/devicetypes.py` (+1 -1) 📝 `netbox/dcim/tests/test_filtersets.py` (+12 -4) 📝 `netbox/templates/dcim/device.html` (+6 -0) 📝 `netbox/templates/dcim/device_edit.html` (+1 -0) 📝 `netbox/templates/dcim/devicetype.html` (+6 -0) </details> ### 📄 Description ### Closes: #3839 - Add `airflow` field to Device and DeviceType models - Automatically inherit this value when instantiating a device and no value has been specified by the user --- <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:26:13 +01:00
adam closed this issue 2025-12-29 22:26:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13246