Fixes #18878: Automatically assign a designated primary MAC address upon creation of a new interface #1170

Closed
opened 2026-04-05 21:30:13 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jeremystretch on 9/30/2025

Fixes: #18878

  • Loosen the validation logic on BaseInterface to only raise an error if the designated primary MAC address is assigned to a different interface
  • Introduce the update_mac_address_interface() signal handler to automatically assign the primary MAC address (if any) to a new interface immediately following its creation
*Originally created by @jeremystretch on 9/30/2025* ### Fixes: #18878 - Loosen the validation logic on BaseInterface to only raise an error if the designated primary MAC address is assigned to a _different_ interface - Introduce the `update_mac_address_interface()` signal handler to automatically assign the primary MAC address (if any) to a new interface immediately following its creation
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1170