-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 when importing circuit terminations #17954
Comments
I noticed the same today. I have found the culprit and would be willing to submit a fix for it @bctiemann @Sergii-Lucky, _clean_side is missing the use-case of circuitterminations and this could probably be added easily. If @Sergii-Lucky would like me to take this issue, just let me know and I'll start working on a fix. |
@jsenecal |
Thanks @jsenecal, I've assigned this to you. |
While this is being fixed for circuit terminations, I believe there is currently a similar issue for Power Feed type terminations, which should probably also be addressed. |
This is another issue with a similar fix. Can you link the issue so I can submit a different PR @sleepinggenius2 ? |
I'm not aware of a Github issue opened for that at this time. Can it be included as part of this one or should I open a new one and link it here? |
Please open a new one. |
I have opened #18008 for the power feed use case. |
@jeremystretch, not sure if you noticed but I submitted a PR for this bug |
Deployment Type
Self-hosted
Triage priority
I volunteer to perform this work (if approved)
NetBox Version
v.4.1.6
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_a_device: Object not found:397718".
To reproduce:
I have an existing device NTT-ODF1 with a port X01.
I have an existing circuit, 397718 and I'm trying to connect to Termination A
Import data:
side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name
397718,circuits.circuittermination,A,NTT-ODF1,dcim.rearport,X01
Expected Behavior
Should be able to import cables connected to circuit terminations.
Observed Behavior
The text was updated successfully, but these errors were encountered: