Skip to content

New created MAC Address not showing in the Interface view of a device #18988

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
BartZimmo opened this issue Mar 24, 2025 · 5 comments
Closed
Labels
status: duplicate This issue has already been raised

Comments

@BartZimmo
Copy link

Deployment Type

Self-hosted

NetBox Version

v4.2.6

Python Version

3.12

Steps to Reproduce

  1. Select a Device with interfaces.
  2. Click on interface tab.
  3. Click on the plus button from an interface and select MAC address.
  4. Fill in MAC address and click on Create.
  5. Return to the interface View of the device.
  6. Make sure the MAC address field is selected in the Table configuration for this view.
  7. The information about the MAC address is not showing!
  8. If you click on the interface name, the MAC address is visible.

Expected Behavior

The MAC address field should show the information about the attached MAC address.

Observed Behavior

The MAC address field shows shows blanco like unconfigured.

@BartZimmo BartZimmo added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Mar 24, 2025
@arthanson arthanson added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation severity: low Does not significantly disrupt application functionality, or a workaround is available and removed status: needs triage This issue is awaiting triage by a maintainer labels Mar 24, 2025
@BartZimmo
Copy link
Author

BartZimmo commented Mar 24, 2025

I did some research, and it looks like the select box to set the MAC address as primary is missing.

Image

This is why the MAC is not showing on the interface page.

The MAC address field in the Table configuration is set to this : primary_mac_address

If i update the missing field using bulk import, the MAC is showing.

`is_primary: 'true'

Do we need to add the "Is primary" checkbox to the models_form ?

Image

It would also be helpfull to have the "Is primary_mac_address" status option in the Table configuration for the MAC address page.
`

@xeluior
Copy link

xeluior commented Apr 2, 2025

When you edit the interface after creating the MAC, you can select it as the primary MAC for the interface from that screen. I came here to add a feature request for a "Set as Primary" on the Add MAC address screen though because that gets tedious when adding manually.

@BartZimmo
Copy link
Author

Hi Xeluior,

A "Set as Primary" button would be very helpful and would spare a lot of clicks and time.
Since the option is available during bulk import, i don't think it is hard to provide the same function in the Add MAC address screen.

@Myke
Copy link

Myke commented Apr 5, 2025

Concur: #19090

@jeremystretch
Copy link
Member

Closing this as a duplicate of #18878, which itself should actually be a feature request.

@jeremystretch jeremystretch closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2025
@jeremystretch jeremystretch added status: duplicate This issue has already been raised and removed type: bug A confirmed report of unexpected behavior in the application status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation severity: low Does not significantly disrupt application functionality, or a workaround is available labels Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate This issue has already been raised
Projects
None yet
Development

No branches or pull requests

5 participants