[PR #10235] [MERGED] Fixes #10220: Validate IP version when assigning primary IPs to a VM #13589

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10235
Author: @jeremystretch
Created: 9/1/2022
Status: Merged
Merged: 9/1/2022
Merged by: @jeremystretch

Base: developHead: 10220-vm-primary-ips


📝 Commits (1)

  • d818c25 Fixes #10220: Validate IP version when assigning primary IPs to a virtual machine

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

📝 docs/release-notes/version-3.3.md (+1 -0)
📝 netbox/virtualization/models.py (+6 -1)

📄 Description

Fixes: #10220

  • Extend clean() on VirtualMachine to verify the IP version of primary_ip4 and primary_ip6 (if set)

🔄 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/10235 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/1/2022 **Status:** ✅ Merged **Merged:** 9/1/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `10220-vm-primary-ips` --- ### 📝 Commits (1) - [`d818c25`](https://github.com/netbox-community/netbox/commit/d818c250b0678c53a485b066c7d4c429d9235435) Fixes #10220: Validate IP version when assigning primary IPs to a virtual machine ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-3.3.md` (+1 -0) 📝 `netbox/virtualization/models.py` (+6 -1) </details> ### 📄 Description ### Fixes: #10220 - Extend `clean()` on VirtualMachine to verify the IP version of `primary_ip4` and `primary_ip6` (if set) --- <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:19:43 +01:00
adam closed this issue 2025-12-29 23:19:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13589