Cable bulk import error when importing cables with circuit terminations #9796

Closed
opened 2025-12-29 21:22:50 +01:00 by adam · 1 comment
Owner

Originally created by @KPTheProf on GitHub (Jun 4, 2024).

Deployment Type

Self-hosted

NetBox Version

v4.0.3

Python Version

3.12

Steps to Reproduce

When trying to use the bulk cable import feature to import cables with circuit terminations, I'm getting the error "Record 1 side_b_device: This field is required".

Circuit terminations doen't have a device, but the side_?_device field is mandatory. What should I be putting in the field, if it can't be empty?

To reproduce:
I have an existing device BT-NTU-01 with a port Network 1.
I have an existing circuit, CIRCUIT-01 and I'm trying to connect to Termination Z

side_a_type,side_a_device,side_a_name,side_b_type,side_b_device,side_b_name,type,status
dcim.interface,BT-NTU-01,Network 1,circuits.circuittermination,,CIRCUIT-01: Termination Z,smf,connected

Expected Behavior

Should be able to import cables connected to circuit terminations.

Observed Behavior

image

Originally created by @KPTheProf on GitHub (Jun 4, 2024). ### Deployment Type Self-hosted ### NetBox Version v4.0.3 ### Python Version 3.12 ### Steps to Reproduce When trying to use the bulk cable import feature to import cables with circuit terminations, I'm getting the error "Record 1 side_b_device: This field is required". Circuit terminations doen't have a device, but the side_?_device field is mandatory. What should I be putting in the field, if it can't be empty? To reproduce: I have an existing device BT-NTU-01 with a port Network 1. I have an existing circuit, CIRCUIT-01 and I'm trying to connect to Termination Z ``` side_a_type,side_a_device,side_a_name,side_b_type,side_b_device,side_b_name,type,status dcim.interface,BT-NTU-01,Network 1,circuits.circuittermination,,CIRCUIT-01: Termination Z,smf,connected ``` ### Expected Behavior Should be able to import cables connected to circuit terminations. ### Observed Behavior ![image](https://github.com/netbox-community/netbox/assets/56978198/513587cb-6729-4afb-829f-c8fe425fcc41)
adam closed this issue 2025-12-29 21:22:51 +01:00
Author
Owner

@jeffgdotorg commented on GitHub (Jun 4, 2024):

This issue sounds more like a request for guidance than a bug report, so I'm converting it to a discussion in the Help Wanted category. If the conversation there leads back to bug territory, then we'll meet back here in Issues 😉

@jeffgdotorg commented on GitHub (Jun 4, 2024): This issue sounds more like a request for guidance than a bug report, so I'm converting it to a discussion in the _Help Wanted_ category. If the conversation there leads back to bug territory, then we'll meet back here in Issues 😉
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9796