Skip to content

Missing parent field on Inventory Item Bulk Import #6936

@sleepinggenius2

Description

@sleepinggenius2

NetBox version

v2.11.10

Python version

3.8

Steps to Reproduce

  1. Navigate to Devices > Inventory Items > Import
  2. Try to add a "parent" field to the CSV
device,name,parent
PP:B117,parent,
PP:B117,child,parent

Expected Behavior

There should be a "parent" field with "name" accessor available when importing that is scoped to the given "device" field, just like you can do for Interface Bulk Import.

Observed Behavior

The complete exception is provided below:

<class 'KeyError'>

'csv'

Python version: 3.8.10
NetBox version: 2.11.10

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