Import cable issue #3311

Closed
opened 2025-12-29 18:27:36 +01:00 by adam · 2 comments
Owner

Originally created by @User-HAS on GitHub (Feb 12, 2020).

Environment

  • NetBox version: 2.5.7

Steps to Reproduce

  1. Attemp to import cable using the following syntax:
    device1,rearport,R-X9/X10,device2,rearport,R-X9/X10

Expected Behavior

The cable will be created

Observed Behavior

Error message:
image
The export cable format contains Terminations ID (dcim.interface). "termination_a_type,termination_a_id,termination_b_type,termination_b_id,type"
Is there a way to extract all the termination IDs of the devices ?

Originally created by @User-HAS on GitHub (Feb 12, 2020). <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, DO NOT open an issue. Instead, post to our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * NetBox version: 2.5.7 <!-- Describe in detail the exact steps that someone else can take to reproduce this bug using the current stable release of NetBox (or the current beta release where applicable). Begin with the creation of any necessary database objects and call out every operation being performed explicitly. If reporting a bug in the REST API, be sure to reconstruct the raw HTTP request(s) being made: Don't rely on a wrapper like pynetbox. --> ### Steps to Reproduce 1. Attemp to import cable using the following syntax: device1,rearport,R-X9/X10,device2,rearport,R-X9/X10 <!-- What did you expect to happen? --> ### Expected Behavior The cable will be created <!-- What happened instead? --> ### Observed Behavior Error message: ![image](https://user-images.githubusercontent.com/60884083/74240262-dac24380-4cd9-11ea-964f-cc12c601c9a4.png) The export cable format contains Terminations ID (dcim.interface). "termination_a_type,termination_a_id,termination_b_type,termination_b_id,type" Is there a way to extract all the termination IDs of the devices ?
adam added the status: revisions needed label 2025-12-29 18:27:36 +01:00
adam closed this issue 2025-12-29 18:27:36 +01:00
Author
Owner

@kobayashi commented on GitHub (Feb 12, 2020):

Could you give us more detailed steps to reproduce this issue?
For my environment, I cannot reproduce.
Or there is the same error case #3716

@kobayashi commented on GitHub (Feb 12, 2020): Could you give us more detailed steps to reproduce this issue? For my environment, I cannot reproduce. Or there is the same error case #3716
Author
Owner

@jeremystretch commented on GitHub (Feb 12, 2020):

NetBox version: 2.5.7

Please upgrade to the most recent stable release (currently v2.7.4) as it is very likely your issue has already been resolved, as @kobayashi has indicated. If you can replicate this issue on the current stable release please ask to reopen this bug.

@jeremystretch commented on GitHub (Feb 12, 2020): > NetBox version: 2.5.7 Please upgrade to the most recent stable release (currently v2.7.4) as it is very likely your issue has already been resolved, as @kobayashi has indicated. If you can replicate this issue on the current stable release please ask to reopen this bug.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3311