Skip to content

Quickadd MAC address created when adding an interface can not be saves/set as primary #18878

@Domoninic

Description

@Domoninic

Deployment Type

Self-hosted

NetBox Version

V4.2.5

Python Version

3.12

Steps to Reproduce

1: Add Interface to existing Device
2: Use quickadd widget to create new primary mac address
3: set new mac address a primary
4 Save new interface

Expected Behavior

Save should work and newly create MAC should be assigned to new interface and set as primary.

Observed Behavior

Saving the new interface fails with error on field Primary MAC address "MAC address XX:XX:XX:XX:XX:XX is not assigned to this interface".
While creating the MAC address it is not possible to assign it to the new interface as that does not yet exist.
One must first save the interface then edit it and use the quick add to create the MAC as assigned to the interface and then save it.
Seems to be a chicken and egg problem.

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

Relationships

None yet

Development

No branches or pull requests

Issue actions