[PR #5896] [MERGED] Fixes #5703: populate vrf and tenant fields when adding ip address #13067

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/5896
Author: @nkeulen
Created: 2/27/2021
Status: Merged
Merged: 3/1/2021
Merged by: @DanSheps

Base: developHead: develop


📝 Commits (2)

  • bf8afea Fixes #5703: populate vrf and tenant fields when adding ip address
  • 2b2e43c Removed trailing whitespace, tests now pass

📊 Changes

1 file changed (+5 additions, -3 deletions)

View changed files

📝 netbox/ipam/tables.py (+5 -3)

📄 Description

Fixes: #5703

With this commit behavior of the "+ add new ip address" button and clicking the ".. IPs available" button is now the same (you get to the add IP page where VRF and tenant fields are populated already if the prefix was assigned a VRF or Tenant).

The ".. IPs available" rows of the table overview of IP addresses for a prefix is also fixed (it now displays the VRF of the prefix if it has one instead of incorrectly displaying "Global" and it displays the tenant if the prefix was assigned one).


🔄 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/5896 **Author:** [@nkeulen](https://github.com/nkeulen) **Created:** 2/27/2021 **Status:** ✅ Merged **Merged:** 3/1/2021 **Merged by:** [@DanSheps](https://github.com/DanSheps) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (2) - [`bf8afea`](https://github.com/netbox-community/netbox/commit/bf8afea8f5607b1dbf12a54376f25a6591dfb463) Fixes #5703: populate vrf and tenant fields when adding ip address - [`2b2e43c`](https://github.com/netbox-community/netbox/commit/2b2e43c132c01b9c55e0968c9f62b76f9eab1ffa) Removed trailing whitespace, tests now pass ### 📊 Changes **1 file changed** (+5 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/tables.py` (+5 -3) </details> ### 📄 Description ### Fixes: #5703 With this commit behavior of the "+ add new ip address" button and clicking the ".. IPs available" button is now the same (you get to the add IP page where VRF and tenant fields are populated already if the prefix was assigned a VRF or Tenant). The ".. IPs available" rows of the table overview of IP addresses for a prefix is also fixed (it now displays the VRF of the prefix if it has one instead of incorrectly displaying "Global" and it displays the tenant if the prefix was assigned one). --- <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:25:13 +01:00
adam closed this issue 2025-12-29 22:25: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#13067