Skip to content

Conversation

@Sam6734
Copy link

@Sam6734 Sam6734 commented Jan 14, 2026

NetBox 4.2+ uses dcim.mac-addresses, and netbox-agent fails to add bonded interfaces or VLAN sub-interfaces containing the same MAC address, currently they're assigned without scoping to an interface causing conflicts

These types of network intefaces will run into an error such as

pynetbox.core.query.RequestError: The request failed with code 400 Bad Request: {'primary_mac_address': ["Multiple objects match the provided attributes: {'mac_address': 'B3:31:U2:T6:07:9F'}"]}

PR fixes by scoping to mac_address + interface_id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant