Skip to content

VLANGroup CSV Import broken #6908

@sdktr

Description

@sdktr

NetBox version

v2.11.10

Python version

3.8

Steps to Reproduce

  1. 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 implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions