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

Make connecting cables quicker by pre-selecting B end Site and Rack #3310

Closed
candlerb opened this issue Jun 29, 2019 · 1 comment · Fixed by #3987
Closed

Make connecting cables quicker by pre-selecting B end Site and Rack #3310

candlerb opened this issue Jun 29, 2019 · 1 comment · Fixed by #3987
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@candlerb
Copy link
Contributor

Environment

  • Python version: 3.5.2
  • NetBox version: 2.6.1

Proposed Functionality

When creating a new cable, pre-select the Site and Rack of the B-end to be the Site and Rack of the A-end.

Anybody who wants to connect elsewhere would still have to select the correct Rack or Site/Rack anyway, so you might as well pre-select the most likely choice.

Use Case

In 2.6.1 there has been a regression in the UI, which means that connecting cables has become more tiresome.

After a data center move, I now have hundreds of cables to connect up. CSV import is a possibility, but due to heterogenous devices and interface names, selecting them from the available interfaces in the UI would make more sense.

However, the interface for adding a cable has changed between 2.5 and 2.6. Previously there were two tabs for the B end: under the first tab, you could just type the name of any device (or part of it) to select it. Under the second tab, you could choose to drill down via site and rack.

It appears the first option has been removed. Now what happens is:

  1. You click on the "Connect" button and you get a drop-down. I know I'm connecting to an Interface, so that's OK.

    image

  2. At the B side you must drill down via site, rack and device.

    image

  3. If you try to type into the "device" box without selecting Site/Rack, you are only allowed to choose unracked devices (across all sites). So you are forced to select Site and Rack (or just Rack) first, before typing in part of the target device name.

Under 2.5 it was going to be simple - working through the devices in rack X, I would have the name of the switch in rack X in my clipboard and just paste it in to the target device, then just have to select the interface. I can't do this now, without also selecting Site/Rack every time.

There are a bunch of ways the UI for connecting devices could be improved, but pre-selecting the Site and Rack would be minimally invasive and yet speed up the 80/20 case where connections are made within a rack (e.g. device to top-of-rack switch).

Another option would be that if the site and rack are unselecting, then typing into the Device field could search across all devices in the database. However I understand that is going to become less feasible when naming uniqueness rules are relaxed.

Database Changes

None

External Dependencies

None

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application labels Oct 15, 2019
@millijuna
Copy link

For me, pre-populating the rack wouldn't be useful, but the site would be fine. The bigger thing for me would be to be able to search all of my devices without having to first select the site/rack. (my patch panels, for example, are named --patch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
3 participants