[PR #12618] [MERGED] Closes #9068: validate addresses assigned to interfaces #14020

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12618
Author: @decoupca
Created: 5/15/2023
Status: Merged
Merged: 5/22/2023
Merged by: @jeremystretch

Base: developHead: 9068-validate-addresses


📝 Commits (6)

📊 Changes

1 file changed (+12 additions, -0 deletions)

View changed files

📝 netbox/ipam/forms/model_forms.py (+12 -0)

📄 Description

Fixes: #9068

Disallows assigning a broadcast address or network ID to an interface.


🔄 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/12618 **Author:** [@decoupca](https://github.com/decoupca) **Created:** 5/15/2023 **Status:** ✅ Merged **Merged:** 5/22/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `9068-validate-addresses` --- ### 📝 Commits (6) - [`4ea3fad`](https://github.com/netbox-community/netbox/commit/4ea3fad27ce5fe680cb4cd4337fd9c35eeed3858) Begin logic - [`1596821`](https://github.com/netbox-community/netbox/commit/159682124c790f24123cdff55c89fed86dda7bfa) Closes #9068: Disallow assigning bcast/networks to interfaces - [`478b27a`](https://github.com/netbox-community/netbox/commit/478b27ae18660a4069a2a6aa859bced7570a2b16) Allow net IDs in /31, /32, /127, /128 - [`7389147`](https://github.com/netbox-community/netbox/commit/73891479ae2b8e1c75d389fc6634b43abfa06556) linting error - [`0b0977d`](https://github.com/netbox-community/netbox/commit/0b0977d8427b28de5888657279318cda08bab574) Implement requested changes - [`0338f56`](https://github.com/netbox-community/netbox/commit/0338f566a23cc5346a2effef78cf02646c46cc0b) Condensed the "if" logic a bit ### 📊 Changes **1 file changed** (+12 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/forms/model_forms.py` (+12 -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: #9068 Disallows assigning a broadcast address or network ID to an interface. --- <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:04 +01:00
adam closed this issue 2025-12-29 23:22:04 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14020