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
Bulk connect front/rear ports #2855
Comments
This needs much more detail to be actionable. What is the workflow being proposed? What new views and forms would be introduced? |
For the sake of simplicity, Maybe some Sort of Extension of "Closes #2854: Enable bulk editing of pass-through ports" ? Hint: The counterpart should only be selectable if there isn´t a connection available on this device. |
I support this idea, but add it's not always 1:1, e.g. you may be crossing over pairs. Simple idea: under "Cable" have a "Bulk add" page.
You could also do it from the device page: with multiple interfaces to be selected, click a "Bulk connect..." button and it can go to the same page, but pre-populate the device A, port type A and range A - the latter as a simple list e.g. |
Yes this is a great solution. I use the term of 1:1 because it's easier to implement. |
Interesting, regex matching against the actual interface names on a device is possible. But I think it would be simpler and less confusing to use the interface name generation patterns that already exist, e.g. when bulking adding interfaces. In the case of 1:1 it would be the same but simpler than the example I gave.
Modifying connections is harder than you think, because there's not a way to swap connections; indeed there's not even a way to change one endpoint of a cable at the moment. You would have to delete two connections and create two new connections, which is worse than not having bulk upload in the first place. |
Yes your right, I test them... |
Sorry for late reaction. Think the above comments already give a good view/idea. The most common way in my view for patchpanels to implement this is to link the front / rear panel to the same port numbers. 1/1, 2/2, 3/3. So selecting front ports and match / connect them with the rear. |
If you correctly model the Front to Rear port connections in the Device Type object, then you should get them created automatically whenever you create a Device instance of that type. Furthermore, it's already possible to create the Front to Rear connections in bulk in the Device Type.
You'll find you have 24 front ports, all linked 1:1 to the 24 rear ports. Where I would find the real value in bulk-add would be in connecting between two different devices, in particular:
And as described before, I'd like to be able to do this with crossovers rather than just 1:1. |
@candlerb |
Sorry, I think I am not understanding something. You can create a cable between device X to the front port on device Y, and you can create a cable between the rear port on device Y to device Z. The internal connection from the front port on Y to the rear port of device Y is part of the device itself. Whenever you add a front port to a device, you must associate it with a rear port, and that represents the internal connection. In the original post you said:
But it is impossible to create a front port without connecting it to a rear port. Netbox won't let you create an isolated front port.
So that's a separate issue: if I understand, you want to connect rear ports 1-24 on panel X to rear ports 1-24 on panel Y, without creating 24 separate cables. That's a reasonable request. There are some proposals above for this. The same could also apply to interface-to-interface or interface-to-front port connections. Those are all "cables". But it doesn't apply to front-to-rear port connections within the same device; those are not cables. |
Hi, |
Sorry, I'm new here and in github. How is the development of this function? Connect bulk ports between different devices. Thanks! |
Hey there! |
Mapping the front to back or back to front descriptions would be a huge timesaver. Along with he bulk edit select feature mentioned here #2854 (comment) |
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. Please see our contributing guide. |
I think the lack of this functionality still represents a large hurdle in modeling large-ish cable plants, often found in an enterprise. Thus, I'd hate to see it closed and lost in the ether. I would be interested in taking a look at implementing this, but I'm not sure yet when I will have the time. |
+1, would appreciate if this can be considered for implementation. |
@JonathonReinhart @tvberlin are either of you willing to commit to implementing the feature? If not, the "pending closure" label will be re-applied and the issue will likely be closed automatically. |
Hi, so having tow patchpannels directly one to one connected is not an genral netbox feature which should be considered ? I just aggree with them so having an new site build up in netbox with several patch pannels is hughe effort to (consider without scipting apai etc.) in the gui to click on every port. So considereing tow pannels to be 1 to 1 linked to each other should be in the standart of netbox. Regards Niko |
Of course it should be considered, and it is. That's what we're discussing in this issue. However, it doesn't seem like anyone is interested in committing to the work. |
Understand , so I can do testing if feature is working and sugest also into the design of how it should work and look like. Is it possible to put this topic up to be more visible so we can find one who has programming skills to contribute and work n this feature ? Regards Niko |
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. Please see our contributing guide. |
This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary. |
It's a shame this got auto-closed. When planning new facilities with lots of structured cabling via patchpanels, this functionality is crucial. Netbox is amazing, the documentation and install was so easy and its so very useable, just, for physical installations, the current manual patching between rear-ports is just to cumbersome if I was to model, say, a 128x128 patch bay. Any way to reopen this? |
This issue was closed because no one wanted to volunteer to do the work. As the discussion period has ended, we won't be re-opening this in the near future, however you're welcome to take a shot at building a plugin that performs this function. Maybe once a working proof-of-concept has been produced we can revisit the proposal to add it to NetBox core. |
Thanks @jeremystretch I'll have a review with our team and see if I can get back down and dirty with django to come up with a cool solution ;) |
Environment
Proposed Functionality
Normally front/rear ports match so port 1 on front is same as rear port 1 at the same "device" cq. patch panel. As we created front and rear ports on a patch panel So these ports could match each other to fast connect front to rear in a patch panel.
It could also be great if its possible to bulk connect them to different panel. For example we have a panel named M18-M17. Which mean in rack M18 there is a panel towards M17 with fiber with 24 ports (pre-patched). This could also help for port-bundeling.
Use Case
On the same "patch panel". Match port 1 from front to 1 from rear. 1:1, 2:2, etc.
Or provide a bulk connect. With selecting all and let them connect to each other to same panel or different panel to front or rear.
Database Changes
N/A
External Dependencies
N/A
The text was updated successfully, but these errors were encountered: