[PR #11869] [MERGED] Fixes #8272 - Add bridge to InterfaceTemplate #13863

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/11869
Author: @kkthxbye-code
Created: 3/1/2023
Status: Merged
Merged: 3/8/2023
Merged by: @jeremystretch

Base: featureHead: 8272-add-bridge-devicetype


📝 Commits (2)

  • fd1c8bb Add bridge to InterfaceTemplate
  • 2b6a1c5 Move update_interface_bridges to a utility function

📊 Changes

6 files changed (+74 additions, -4 deletions)

View changed files

📝 netbox/dcim/api/serializers.py (+2 -1)
📝 netbox/dcim/forms/model_forms.py (+11 -2)
netbox/dcim/migrations/0171_devicetype_add_bridge.py (+19 -0)
📝 netbox/dcim/models/device_component_templates.py (+22 -0)
📝 netbox/dcim/models/devices.py (+19 -0)
📝 netbox/dcim/tables/devicetypes.py (+1 -1)

📄 Description

Fixes: #8272

Only thing to be aware of here, is that the bridge field is not supported when importing moduletype/devicetype yaml. I don't really see how we would support that.


🔄 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/11869 **Author:** [@kkthxbye-code](https://github.com/kkthxbye-code) **Created:** 3/1/2023 **Status:** ✅ Merged **Merged:** 3/8/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `8272-add-bridge-devicetype` --- ### 📝 Commits (2) - [`fd1c8bb`](https://github.com/netbox-community/netbox/commit/fd1c8bbd463f066332244751b3729a5dfc4441a5) Add bridge to InterfaceTemplate - [`2b6a1c5`](https://github.com/netbox-community/netbox/commit/2b6a1c5e572dffa89840ec6925951050dd16991b) Move update_interface_bridges to a utility function ### 📊 Changes **6 files changed** (+74 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/api/serializers.py` (+2 -1) 📝 `netbox/dcim/forms/model_forms.py` (+11 -2) ➕ `netbox/dcim/migrations/0171_devicetype_add_bridge.py` (+19 -0) 📝 `netbox/dcim/models/device_component_templates.py` (+22 -0) 📝 `netbox/dcim/models/devices.py` (+19 -0) 📝 `netbox/dcim/tables/devicetypes.py` (+1 -1) </details> ### 📄 Description ### Fixes: #8272 Only thing to be aware of here, is that the bridge field is not supported when importing moduletype/devicetype yaml. I don't really see how we would support that. --- <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:21:14 +01:00
adam closed this issue 2025-12-29 23:21: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#13863