Unassigning MAC Address from interface does not reset primary mac address #10673

Closed
opened 2025-12-29 21:34:34 +01:00 by adam · 0 comments
Owner

Originally created by @timeu on GitHub (Jan 20, 2025).

Originally assigned to: @DanSheps on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.2.2

Python Version

3.12

Steps to Reproduce

  1. Create a device (device1) (any device type)
  2. Create an interface (eth1) (any type)
  3. Create a MAC address (AA:AB:CC:DD:EE:FF) and assign it to the device1 and interface eth1
  4. Go to interface eth1 on device1 and edit the device
  5. Assign the MAC address AA:AB:CC:DD:EE:FF as the primary MAC address
  6. Go to the MAC address view and select the AA:AB:CC:DD:EE:FF address
  7. Unassign it from the selected interface

Expected Behavior

The primary mac address of the interface should be set to NULL / reset

Observed Behavior

The primary mac address of the interface still shows AA:AB:CC:DD:EE:FF

Originally created by @timeu on GitHub (Jan 20, 2025). Originally assigned to: @DanSheps on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.2.2 ### Python Version 3.12 ### Steps to Reproduce 1. Create a device (device1) (any device type) 2. Create an interface (eth1) (any type) 3. Create a MAC address (AA:AB:CC:DD:EE:FF) and assign it to the device1 and interface eth1 4. Go to interface eth1 on device1 and edit the device 5. Assign the MAC address AA:AB:CC:DD:EE:FF as the primary MAC address 6. Go to the MAC address view and select the AA:AB:CC:DD:EE:FF address 7. Unassign it from the selected interface ### Expected Behavior The primary mac address of the interface should be set to NULL / reset ### Observed Behavior The primary mac address of the interface still shows AA:AB:CC:DD:EE:FF
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:34:34 +01:00
adam closed this issue 2025-12-29 21:34:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10673