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

Allow a cable to be connected to multiple devices #13923

Closed
cpmills1975 opened this issue Sep 27, 2023 · 5 comments
Closed

Allow a cable to be connected to multiple devices #13923

cpmills1975 opened this issue Sep 27, 2023 · 5 comments
Labels
type: feature Introduction of new functionality to the application

Comments

@cpmills1975
Copy link
Contributor

NetBox version

v3.6.3

Feature type

Change to existing functionality

Proposed functionality

I can see that it is possible to connect a cable from the A end to multiple components on a single B end device, but it does not appear to be possible to model a cable that is connected to a single component on multiple B end devices.

Use case

Break-out cables are frequently used to 'break out' a multi-channeled interface in to separate channels, sometimes across several devices. e.g. there is no reason why a 40G QSFP interface cannot be connected to a single 10G SFP interface on four different downstream devices.

I've managed to model this by traversing a patch panel with four front ports and four rear ports such that the four downstream devices have one-to-one cables going in to the rear port and the QSFP is connected to the four front ports on the patch panel, but I cannot connect the QSFP port directly to the four SFP ports.

Database changes

Presumably none - the cable end point references a single component, the fact those components can't be on different devices feels like a UI issue.

External dependencies

None

@cpmills1975 cpmills1975 added the type: feature Introduction of new functionality to the application label Sep 27, 2023
@craized
Copy link

craized commented Sep 28, 2023

If I'm understanding correctly, I second this. I've been waiting for quite a while for the fixes that came with #13337 and am excited to see them released.

The above fix CAN cover this use case, however it was determined that it wasn't part of the bug fix, but rather a feature request (as stated here: https://github.com/netbox-community/netbox/pull/13337/files#r1295124404).

On my own instance, I've resolved this to test by commenting out the following lines https://github.com/netbox-community/netbox/blob/develop/netbox/dcim/models/cables.py#L521-L525. I assume this is a naive implementation and it may break something else.

I'm including the trace from my modeled span both as a PoC and to clarify the use case. Note that this is only half of the cable trace, and the other side would be the exact mirror.

split-cable-trace

@PieterL75
Copy link
Contributor

Isn't his already possible ??
I tried it on the demo instance, and there you can connect one port to multiple devices.
image

Steps

  • create a new connection
  • select a device, and an interface
  • the interface becomes a 'label'
  • select another device, and an interface
  • a second interface is show in the list

image

I do agree that the EDIT UI is not very intuitive nor showing enough details for these kind of cables.
The cable view does show all the devices and interfaces :
image

@craized
Copy link

craized commented Oct 4, 2023 via email

Copy link
Contributor

github-actions bot commented Mar 4, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions github-actions bot added the pending closure Requires immediate attention to avoid being closed for inactivity label Mar 4, 2024
@netbox-community netbox-community deleted a comment from craized Mar 12, 2024
@jeremystretch
Copy link
Member

Closing this out as the requested functionality already exists, per @PieterL75's comment above. If there's some other requirement not surfaced here, please submit a new FR detailing it.

@jeremystretch jeremystretch closed this as not planned Won't fix, can't repro, duplicate, stale Mar 12, 2024
@jeremystretch jeremystretch removed the pending closure Requires immediate attention to avoid being closed for inactivity label Mar 12, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

4 participants