Skip to content

Parent interface not scoped to device on interface bulk import #6759

@sleepinggenius2

Description

@sleepinggenius2

NetBox version

v2.11.9

Python version

3.8

Steps to Reproduce

  1. Click on Devices > Interfaces > Import
  2. Enter the following into the CSV input:
device,name,type,parent
dev1,int1,10gbase-x-sfpp,
dev1,int1/1,virtual,int1
dev2,int1,10gbase-x-sfpp,
dev2,int1/1,virtual,int1
  1. Click Submit

Expected Behavior

The import should have completed successfully.

Observed Behavior

* Row 4 parent: "int1" is not a unique value for this field; multiple objects were found

The code only seems to scope the lag field to the device, but not the parent field.

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