-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v2.11.10
Python version
3.8
Steps to Reproduce
- Import VLANGroup CSV using this content
name,slug,scope_type,scope_id
DM-NYC,DMNYC,site,1
Expected Behavior
New Vlangroup, scoped to Site with id 1 is created.
The prefered behavior would be that scope could refer other attributes then 'id'. Like the other import options that have 'accessors':
name,slug,scope_type,scope.name
DM-NYC,DMNYC,site,mysitename
Observed Behavior
Error is trown:
Row 1 scope_type: Select a valid choice. That choice is not one of the available choices.
Row 1 all: Cannot set scope_id without scope_type.
This bug is a follow up of: #6897
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application