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

No one assigned

    Labels

    pending closureRequires immediate attention to avoid being closed for inactivityseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its 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