[PR #13013] [MERGED] Oob ip (devices) #14100

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13013
Author: @ITJamie
Created: 6/26/2023
Status: Merged
Merged: 7/25/2023
Merged by: @jeremystretch

Base: featureHead: oob_ip


📝 Commits (10+)

  • e5cea21 initial oob_ip support for devices
  • b45606d add primary ip and oob ip checkmark to ip address view
  • 077e5c4 add oob ip to device view and device edit view
  • 9c681e6 pep8
  • a3275a9 make is_oob_ip and is_primary_ip generic for other models
  • b92360f Merge branch 'feature' into oob_ip
  • d267e42 refactor oob_ip
  • bdd7afb fix oob ip signal
  • ea0f1bd string capitalisation
  • e38ba12 Merge branch 'feature' into oob_ip

📊 Changes

15 files changed (+150 additions, -26 deletions)

View changed files

📝 docs/models/dcim/device.md (+4 -0)
📝 netbox/dcim/api/serializers.py (+11 -10)
📝 netbox/dcim/filtersets.py (+15 -0)
📝 netbox/dcim/forms/filtersets.py (+8 -1)
📝 netbox/dcim/forms/model_forms.py (+7 -2)
netbox/dcim/migrations/0175_device_oob_ip.py (+25 -0)
📝 netbox/dcim/migrations/0176_device_component_counters.py (+1 -1)
📝 netbox/dcim/models/devices.py (+18 -1)
📝 netbox/dcim/tables/devices.py (+6 -2)
📝 netbox/dcim/views.py (+5 -3)
📝 netbox/ipam/models/ip.py (+18 -0)
📝 netbox/ipam/signals.py (+12 -6)
📝 netbox/templates/dcim/device.html (+11 -0)
📝 netbox/templates/dcim/device_edit.html (+1 -0)
📝 netbox/templates/ipam/ipaddress.html (+8 -0)

📄 Description

Fixes: #8137

a first stab at oob_ip for devices. If we are happy to go this route I will add more commits for virtualmachines (also do we want to add oob_ip to the virtualdevicecontext models (it has primary_ip already)?


🔄 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/13013 **Author:** [@ITJamie](https://github.com/ITJamie) **Created:** 6/26/2023 **Status:** ✅ Merged **Merged:** 7/25/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `oob_ip` --- ### 📝 Commits (10+) - [`e5cea21`](https://github.com/netbox-community/netbox/commit/e5cea213c55ef2d7d8a73033388f68cb148e3bd7) initial oob_ip support for devices - [`b45606d`](https://github.com/netbox-community/netbox/commit/b45606d6ba69eebd5fb0a5a83766002cd01b1251) add primary ip and oob ip checkmark to ip address view - [`077e5c4`](https://github.com/netbox-community/netbox/commit/077e5c465e083f74a5ce16e2eaeb4bdfc14553c2) add oob ip to device view and device edit view - [`9c681e6`](https://github.com/netbox-community/netbox/commit/9c681e63dc6e53f15b656e832ac774e196aa1c0f) pep8 - [`a3275a9`](https://github.com/netbox-community/netbox/commit/a3275a9b6b54d1b5d043386ee5f282779a4c71f8) make is_oob_ip and is_primary_ip generic for other models - [`b92360f`](https://github.com/netbox-community/netbox/commit/b92360faee535fbf5adb6faf336c515acd6d35a4) Merge branch 'feature' into oob_ip - [`d267e42`](https://github.com/netbox-community/netbox/commit/d267e42674d2352c444c5c93010a46063436902e) refactor oob_ip - [`bdd7afb`](https://github.com/netbox-community/netbox/commit/bdd7afb875a8596df6a5cb05d192a99bf68ba2e0) fix oob ip signal - [`ea0f1bd`](https://github.com/netbox-community/netbox/commit/ea0f1bda4816ff4be4d7139afe23cf1a9e17fdb5) string capitalisation - [`e38ba12`](https://github.com/netbox-community/netbox/commit/e38ba1283eda7a560b7f0f934e922002d8c8ec99) Merge branch 'feature' into oob_ip ### 📊 Changes **15 files changed** (+150 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `docs/models/dcim/device.md` (+4 -0) 📝 `netbox/dcim/api/serializers.py` (+11 -10) 📝 `netbox/dcim/filtersets.py` (+15 -0) 📝 `netbox/dcim/forms/filtersets.py` (+8 -1) 📝 `netbox/dcim/forms/model_forms.py` (+7 -2) ➕ `netbox/dcim/migrations/0175_device_oob_ip.py` (+25 -0) 📝 `netbox/dcim/migrations/0176_device_component_counters.py` (+1 -1) 📝 `netbox/dcim/models/devices.py` (+18 -1) 📝 `netbox/dcim/tables/devices.py` (+6 -2) 📝 `netbox/dcim/views.py` (+5 -3) 📝 `netbox/ipam/models/ip.py` (+18 -0) 📝 `netbox/ipam/signals.py` (+12 -6) 📝 `netbox/templates/dcim/device.html` (+11 -0) 📝 `netbox/templates/dcim/device_edit.html` (+1 -0) 📝 `netbox/templates/ipam/ipaddress.html` (+8 -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: #8137 a first stab at oob_ip for devices. If we are happy to go this route I will add more commits for virtualmachines (also do we want to add oob_ip to the virtualdevicecontext models (it has primary_ip already)? --- <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:29 +01:00
adam closed this issue 2025-12-29 23:22:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14100