[PR #12452] [MERGED] Fixes: #10757 - Change IP interface assignment to use new selector #13977

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12452
Author: @DanSheps
Created: 5/3/2023
Status: Merged
Merged: 5/4/2023
Merged by: @jeremystretch

Base: developHead: 10757-fix-ip-address-form-interface-assignment


📝 Commits (2)

  • dd7fda1 Fixes: #10757 - Change interface assignment to use new selector. Perform the same change to the NAT assignment as well.
  • 8adbb31 Remove nat_vrf from form and remove query_params that are not required anymore

📊 Changes

2 files changed (+6 additions, -112 deletions)

View changed files

📝 netbox/ipam/forms/model_forms.py (+6 -56)
📝 netbox/templates/ipam/ipaddress_edit.html (+0 -56)

📄 Description

Fixes: #10757

Convert the interface/FHRP assignment on IPAddress edit form to use the new selector system. This should reduce the confusion as to whether a "device" is assigned or not.

This will also resolve #11477 in a similar manner.


🔄 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/12452 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 5/3/2023 **Status:** ✅ Merged **Merged:** 5/4/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `10757-fix-ip-address-form-interface-assignment` --- ### 📝 Commits (2) - [`dd7fda1`](https://github.com/netbox-community/netbox/commit/dd7fda1ee89a6652109167620c309d145f2374ba) Fixes: #10757 - Change interface assignment to use new selector. Perform the same change to the NAT assignment as well. - [`8adbb31`](https://github.com/netbox-community/netbox/commit/8adbb3183695f9271e5bc6efe1deb37d77f09e74) Remove nat_vrf from form and remove query_params that are not required anymore ### 📊 Changes **2 files changed** (+6 additions, -112 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/forms/model_forms.py` (+6 -56) 📝 `netbox/templates/ipam/ipaddress_edit.html` (+0 -56) </details> ### 📄 Description ### Fixes: #10757 Convert the interface/FHRP assignment on IPAddress edit form to use the new selector system. This should reduce the confusion as to whether a "device" is assigned or not. This will also resolve #11477 in a similar manner. --- <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:52 +01:00
adam closed this issue 2025-12-29 23:21:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13977