Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cable bulk import with ID do not update cables #11987

Closed
clementTal opened this issue Mar 15, 2023 · 2 comments · Fixed by #13986
Closed

Cable bulk import with ID do not update cables #11987

clementTal opened this issue Mar 15, 2023 · 2 comments · Fixed by #13986
Assignees
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation topic: cabling type: bug A confirmed report of unexpected behavior in the application

Comments

@clementTal
Copy link

clementTal commented Mar 15, 2023

NetBox version

v3.4.5

Python version

3.8

Steps to Reproduce

  1. create a manufacturer using csv:
name,slug
manufacturer,manufacturer
  1. create devicetype using yaml:
manufacturer: manufacturer
model: device_type_model
slug: device_type_model
part_number: ''
u_height: 1.0
is_full_depth: false
subdevice_role: ''
airflow: ''
comments: ''
interfaces:
- name: interface_A
  type: 1000base-t
  mgmt_only: false
  label: ''
  description: ''
  poe_mode: ''
  poe_type: ''
  1. create a device role using csv:
name,slug,color
device_type,device_type,ffffff
  1. create a site using csv:
name,slug,status
site,site,active
  1. create 3 devices using csv:
name,role,manufacturer,device_type,status,site
device_1,device_type,manufacturer,device_type_model,active,site
device_2,device_type,manufacturer,device_type_model,active,site
device_3,device_type,manufacturer,device_type_model,active,site
  1. create a cable to link both created devices interfaces using csv:
side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name
device_1,dcim.interface,interface_A,device_2,dcim.interface,interface_A
  1. get the cable id after creation, and edit the csv to link the cable to other device (replace <CABLE_ID> with correct value):
id,side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name
<CABLE_ID>,device_1,dcim.interface,interface_A,device_3,dcim.interface,interface_A

Expected Behavior

The cable described should be updated

Observed Behavior

Record 1 side_a_name: Side A: device_1 interface_A is already connected

@clementTal clementTal added the type: bug A confirmed report of unexpected behavior in the application label Mar 15, 2023
@jeremystretch
Copy link
Member

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

@jeremystretch jeremystretch added the status: revisions needed This issue requires additional information to be actionable label Mar 15, 2023
@clementTal
Copy link
Author

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

Issue updated with process

@jeremystretch jeremystretch removed the status: revisions needed This issue requires additional information to be actionable label Mar 16, 2023
@jeremystretch jeremystretch added the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label May 4, 2023
@jeremystretch jeremystretch added the severity: low Does not significantly disrupt application functionality, or a workaround is available label Jun 23, 2023
@arthanson arthanson self-assigned this Oct 5, 2023
@arthanson arthanson removed the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Oct 5, 2023
@jeremystretch jeremystretch changed the title Cable bulk import with id do not update cables Cable bulk import with ID do not update cables Oct 5, 2023
@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Oct 5, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation topic: cabling type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants