Importing cable by device ID #3967

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

Originally created by @4nqyi on GitHub (Aug 12, 2020).

I'm trying to import a cable using the device ID through the import UI but it's not working.
The side bar says I can use Side A device name or ID. It'll work when the device is named, but my device name is left blank so I'm using the device ID.

side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name
49237,rearport,2,cs01,consoleserverport,0/1/1

It returns this error.

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

Cable has no termination_a_type.
Originally created by @4nqyi on GitHub (Aug 12, 2020). I'm trying to import a cable using the device ID through the import UI but it's not working. The side bar says I can use `Side A device name or ID`. It'll work when the device is named, but my device name is left blank so I'm using the device ID. ``` side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name 49237,rearport,2,cs01,consoleserverport,0/1/1 ``` It returns this error. ``` <class 'dcim.models.Cable.termination_a_type.RelatedObjectDoesNotExist'> Cable has no termination_a_type. ```
adam closed this issue 2025-12-29 18:32:22 +01:00
Author
Owner

@sdktr commented on GitHub (Aug 12, 2020):

Assure your issue meets a template from the contribution guide, your issue will not be taken into consideration if it doesn't meet any of these https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md

@sdktr commented on GitHub (Aug 12, 2020): Assure your issue meets a template from the contribution guide, your issue will not be taken into consideration if it doesn't meet any of these https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md
Author
Owner

@jeremystretch commented on GitHub (Aug 13, 2020):

This issue is pending closure as it does not conform to one of the provided templates as required by the contributing guide. If you'd like to request that your issue be re-opened, please first update the content so that it matches the appropriate template (this may require rewriting your issue entirely).

@jeremystretch commented on GitHub (Aug 13, 2020): This issue is pending closure as it does not conform to one of the [provided templates](https://github.com/netbox-community/netbox/issues/new/choose) as required by the [contributing guide](https://github.com/netbox-community/netbox/blob/master/CONTRIBUTING.md). If you'd like to request that your issue be re-opened, please first update the content so that it matches the appropriate template (this may require rewriting your issue entirely).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3967