Skip to content

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

@timeu

Description

@timeu

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

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions