Upload File Tab not avilable in Device Import to Upload CSV file #7530

Closed
opened 2025-12-29 20:24:47 +01:00 by adam · 4 comments
Owner

Originally created by @parkerschoenig on GitHub (Jan 18, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.4.1

Python version

3.8

Steps to Reproduce

Creating based on Q&A discussion item #11370. I see an issue was not opened for this. This feature is useful for other users in our instance since we use a template with predefined field options / custom field options in the import file.

On the Devices Import page, the option to import from a CSV file is missing.

image

For example, on IP Address import that option is present:

image

Expected Behavior

Import tab is available on the Devices Import page to import a CSV file.

Observed Behavior

The import tab is missing.

Originally created by @parkerschoenig on GitHub (Jan 18, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.4.1 ### Python version 3.8 ### Steps to Reproduce Creating based on Q&A discussion item #11370. I see an issue was not opened for this. This feature is useful for other users in our instance since we use a template with predefined field options / custom field options in the import file. On the Devices Import page, the option to import from a CSV file is missing. ![image](https://user-images.githubusercontent.com/56207887/213218501-9c8cf9de-14cd-44b9-8acf-977d6fef7585.png) For example, on IP Address import that option is present: ![image](https://user-images.githubusercontent.com/56207887/213218960-3e7d0c09-d8a2-4633-9f1a-fcb25ce4fdf1.png) ### Expected Behavior Import tab is available on the Devices Import page to import a CSV file. ### Observed Behavior The import tab is missing.
adam added the type: bugstatus: accepted labels 2025-12-29 20:24:47 +01:00
adam closed this issue 2025-12-29 20:24:47 +01:00
Author
Owner

@proy-rbbn commented on GitHub (Jan 20, 2023):

Could we expand this to make sure we get options to upload "racked devices" as well as "child_devices"?

@proy-rbbn commented on GitHub (Jan 20, 2023): Could we expand this to make sure we get options to upload "racked devices" as well as "child_devices"?
Author
Owner

@jeremystretch commented on GitHub (Jan 20, 2023):

I took a brief look at this earlier today. Ideally I'd like to remove the "child devices" tab altogether but it wasn't immediately apparent whether it's still necessary to maintain a separate view & form to import child devices specifically.

@jeremystretch commented on GitHub (Jan 20, 2023): I took a brief look at this earlier today. Ideally I'd like to remove the "child devices" tab altogether but it wasn't immediately apparent whether it's still necessary to maintain a separate view & form to import child devices specifically.
Author
Owner

@proy-rbbn commented on GitHub (Jan 20, 2023):

yeah - I would prefer 1 form to handle either child or parent... It is interesting that when adding a child device manually you do not have to enter a host device or device bay.... so it is inconsitent already....

@proy-rbbn commented on GitHub (Jan 20, 2023): yeah - I would prefer 1 form to handle either child or parent... It is interesting that when adding a child device manually you do not have to enter a host device or device bay.... so it is inconsitent already....
Author
Owner

@proy-rbbn commented on GitHub (Feb 27, 2023):

Thank-you so much for adding device CSV file upload. I just tested device import vua Upload File in v3.4.5 and found that the 1st field in the import is always skipped.
I worked around it by adding a blank field to the CSV file as below. Would be nice to fix this bug.
e.g. this works.
,name,device_role,manufacturer,device_type,status,site,location,rack,position,face
,Arcot,Server,Sun Microsystems,Netra T5220,active,Bangalore,BLR-Row X107,X107Y01,12,front

e.g. the below imports successfully, but the device name is not populated.
name,device_role,manufacturer,device_type,status,site,location,rack,position,face
Arcot,Server,Sun Microsystems,Netra T5220,active,Bangalore,BLR-Row X107,X107Y01,12,front

@proy-rbbn commented on GitHub (Feb 27, 2023): Thank-you so much for adding device CSV file upload. I just tested device import vua Upload File in v3.4.5 and found that the 1st field in the import is always skipped. I worked around it by adding a blank field to the CSV file as below. Would be nice to fix this bug. e.g. this works. ,name,device_role,manufacturer,device_type,status,site,location,rack,position,face ,Arcot,Server,Sun Microsystems,Netra T5220,active,Bangalore,BLR-Row X107,X107Y01,12,front e.g. the below imports successfully, but the device name is not populated. name,device_role,manufacturer,device_type,status,site,location,rack,position,face Arcot,Server,Sun Microsystems,Netra T5220,active,Bangalore,BLR-Row X107,X107Y01,12,front
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7530