Allow related object in bulk cable csv import #4974

Closed
opened 2025-12-29 19:22:47 +01:00 by adam · 2 comments
Owner

Originally created by @ghost on GitHub (Jun 7, 2021).

NetBox version

v2.11.4

Feature type

Change to existing functionality

Proposed functionality

This is related to issue #3147 - Ability to specify related objects by attribute during CSV import

Since Netbox now allows duplicate device names in separate sites, there needs to be be a way to specify a device's site when doing Bulk Cable Import via CSV.

I've tried to use side_a_device,side_a_device.site,side_a_name,side_b_device,side_b_device.site,side_b_name,side_a_type,side_b_type however the import errors with Row 1: Expected 6 columns but found 8

Use case

Ability to use Bulk Cable Import (CSV) when using multiple sites with non-unique devices names.

Database changes

No response

External dependencies

No response

Originally created by @ghost on GitHub (Jun 7, 2021). ### NetBox version v2.11.4 ### Feature type Change to existing functionality ### Proposed functionality This is related to issue #3147 - Ability to specify related objects by attribute during CSV import Since Netbox now allows duplicate device names in separate sites, there needs to be be a way to specify a device's site when doing Bulk Cable Import via CSV. I've tried to use `side_a_device,side_a_device.site,side_a_name,side_b_device,side_b_device.site,side_b_name,side_a_type,side_b_type` however the import errors with `Row 1: Expected 6 columns but found 8` ### Use case Ability to use Bulk Cable Import (CSV) when using multiple sites with non-unique devices names. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurepending closure labels 2025-12-29 19:22:47 +01:00
adam closed this issue 2025-12-29 19:22:47 +01:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 7, 2021):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Aug 7, 2021): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Sep 6, 2021):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Sep 6, 2021): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4974