[PR #17509] [MERGED] Fixes: #15408 - Add primary_ip4 and primary_ip6 to bulk import form for VDC #15107

Closed
opened 2025-12-30 00:20:03 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17509
Author: @bctiemann
Created: 9/16/2024
Status: Merged
Merged: 9/19/2024
Merged by: @jeremystretch

Base: developHead: 15408-ip4-ip6-bulk-import-vdc


📝 Commits (6)

  • c265ef7 Add primary_ip4 and primary_ip6 to bulk import form for VDC
  • 972d2ec Specify IPAddress querysets with address field accessor and labels
  • eaa27f1 Filter primary_ip4/ip6 querysets to only those IPs available on the device
  • d6ebe3b Fix comment
  • c739d38 Make ipv6 help text more correct
  • b9752fb Shorten IPv6 example

📊 Changes

1 file changed (+26 additions, -2 deletions)

View changed files

📝 netbox/dcim/forms/bulk_import.py (+26 -2)

📄 Description

Fixes: #15408

Adds primary_ip4 and primary_ip6 to VirtualDeviceContextImportForm.

Uses address as the accessor field.

Screenshot 2024-09-16 at 2 49 04 PM

🔄 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/17509 **Author:** [@bctiemann](https://github.com/bctiemann) **Created:** 9/16/2024 **Status:** ✅ Merged **Merged:** 9/19/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15408-ip4-ip6-bulk-import-vdc` --- ### 📝 Commits (6) - [`c265ef7`](https://github.com/netbox-community/netbox/commit/c265ef7c71144b66a1f10c849b8613c8c69b63d2) Add primary_ip4 and primary_ip6 to bulk import form for VDC - [`972d2ec`](https://github.com/netbox-community/netbox/commit/972d2ecb21e3e803f65120c35e877b6b86ab1d37) Specify IPAddress querysets with address field accessor and labels - [`eaa27f1`](https://github.com/netbox-community/netbox/commit/eaa27f1c7acb0cf4bda284d93b66e30687ea083e) Filter primary_ip4/ip6 querysets to only those IPs available on the device - [`d6ebe3b`](https://github.com/netbox-community/netbox/commit/d6ebe3bd2d29540d0adc06dddb6fbdfeb3849392) Fix comment - [`c739d38`](https://github.com/netbox-community/netbox/commit/c739d38f451513f9a4e1567613a022a0b9c250e0) Make ipv6 help text more correct - [`b9752fb`](https://github.com/netbox-community/netbox/commit/b9752fb28e03e401057cb81575c271f7ef5a0ff0) Shorten IPv6 example ### 📊 Changes **1 file changed** (+26 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/bulk_import.py` (+26 -2) </details> ### 📄 Description ### Fixes: #15408 Adds `primary_ip4` and `primary_ip6` to VirtualDeviceContextImportForm. Uses `address` as the accessor field. <img width="945" alt="Screenshot 2024-09-16 at 2 49 04 PM" src="https://github.com/user-attachments/assets/c2dfa56e-2274-43d0-a6ea-cb22dcc1a7be"> --- <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-30 00:20:03 +01:00
adam closed this issue 2025-12-30 00:20:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15107