-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox Edition
NetBox Community
NetBox Version
v4.4.2
Python Version
3.10
Steps to Reproduce
The issue seems to be returning here. When importing the prefixes bulk below I get the following error:
Record 1 vlan: "1" is not a unique value for this field; multiple objects were found
prefix;status;vlan_site;vlan;scope_type;scope_id;description
10.11.0.0/22;active;LOC02-MGMT;1;dcim.site;5;LOC02-MGMT
We have multiple sites with the same VLAN id, we re-use them same as the existing issue. However, it doesn't seem to be using the field 'vlan_site' to check whether the VLAN is unique for this one.
Expected Behavior
Import the prefixes and assign VLAN based on VLAN site and not only ID.
Observed Behavior
Unique constraint error.
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application