Can't import cables - Cable has no termination_a_type #2303

Closed
opened 2025-12-29 17:24:39 +01:00 by adam · 2 comments
Owner

Originally created by @4fd81048-Brian on GitHub (Jan 21, 2019).

Environment

  • Python version: 3.6.7
  • NetBox version: 2.5.0

Steps to Reproduce

  1. Import a cable between two rear ports

Example Data

side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name
Panel R1A,Rear port,R1-2,Panel R9A,Rear port,R1-2

Import the cable.

<class 'dcim.models.Cable.termination_a_type.RelatedObjectDoesNotExist'>

Cable has no termination_a_type.
Originally created by @4fd81048-Brian on GitHub (Jan 21, 2019). ### Environment * Python version: 3.6.7 * NetBox version: 2.5.0 ### Steps to Reproduce 1. Import a cable between two rear ports Example Data ``` side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name Panel R1A,Rear port,R1-2,Panel R9A,Rear port,R1-2 ``` <!-- What did you expect to happen? --> Import the cable. <!-- What happened instead? --> ``` <class 'dcim.models.Cable.termination_a_type.RelatedObjectDoesNotExist'> Cable has no termination_a_type. ```
adam closed this issue 2025-12-29 17:24:39 +01:00
Author
Owner

@zsandrus commented on GitHub (Jan 22, 2019):

Try using rearport as termination type.

@zsandrus commented on GitHub (Jan 22, 2019): Try using rearport as termination type.
Author
Owner

@jeremystretch commented on GitHub (Jan 23, 2019):

NetBox version: 2.5.0

The current release is v2.5.3. Please upgrade, as it's likely this has already been fixed. Please ask to re-open if you can reproduce the issue on the current release.

@jeremystretch commented on GitHub (Jan 23, 2019): > NetBox version: 2.5.0 The current release is v2.5.3. Please upgrade, as it's likely this has already been fixed. Please ask to re-open if you can reproduce the issue on the current release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2303