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

Interface - Tagged VLAN - Multiselect (Selection of 100 consecutive VLANS) #15530

Open
LHBL2003 opened this issue Mar 26, 2024 · 4 comments
Open
Labels
status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: feature Introduction of new functionality to the application

Comments

@LHBL2003
Copy link

LHBL2003 commented Mar 26, 2024

NetBox version

v3.7.4

Feature type

Change to existing functionality

Proposed functionality

There is an interface for one device. Several tagged VLANs can be assigned to each interface. However, you must click on each VLAN individually. (Example path: https://netbox/dcim/interfaces/xxxx/edit/?return_url=/dcim/devices/xxx/interfaces/)

Function extension proposal:

There is an "open selector" Function in the "IPAM --> Edit prefix" area, perhaps you can use this function here. (Only with multiselector function.)

  • The X button is used to delete the entire content.
  • The "open Selector" button is used for multiple selection and adds further VLANs to the "Tagged VLANs" field.

image

  • I think a very good solution that can be useful in many areas is to have checkboxes. (See picture below) Either you tick what you need.
  • Or if you filter well, then you can select everything via "Check All" and add it to the existing selection.

(This will certainly work even better than with the current DropDown field. Because every time the DropDown list gets bigger, the selection area also jumps a little).

image

For example:
There is an open selector in the "Editing prefix" area.

Use case

Much faster documentation of large VLAN numbers.

The reason why, after much deliberation, I would like to have this function after all:

In the previous post, the behaviour when selecting VLANs in the device interface configuration was improved. (Because every time the drop-down list gets bigger, the selection area also jumps a little.). #9307

Unfortunately, it is still very tedious to click on 100 VLANs. We have more and more locations where we set up a lot of consecutive VLAN IDs. It's super easy in a switch and super time-consuming in Netbox.

For the feeling


HP Switch:

config t
interface 10 tagged vlan 2000-2100
save

Finish


Netbox Tagged VLANs Dropdown List:

2000 ... Click
2001 ... Click
2002 ... Click
2003 ... Click
A long moment later.
2100 ... Click


The result is that you no longer document correctly in Netbox. In the meantime, you only click on the first and last VLAN in the series in Netbox, e.g. 2000 and 2100. The VLANs 2001 to 2099 are not assigned to the interface. However, they are all configured in the switch. It is therefore important to realise that only partial documentation is carried out here.

It would therefore be very, very, very nice if you could somehow click on all consecutive VLANs at the same time.

Database changes

I would say no, as the operation of the front end is customised.

External dependencies

Unknown

@LHBL2003 LHBL2003 added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Mar 26, 2024
@jeremystretch
Copy link
Member

jeremystretch commented Mar 26, 2024

Allow the selection of several Tagged VLANs simultaneously in the interface.

Thank you for your interest in extending NetBox. Unfortunately, the information you have provided does not constitute an actionable feature request. Per our contributing guide, a feature request must include a thorough description of the proposed functionality, including any database changes, new views or API endpoints, and so on. It must also include a detailed use case justifying its implementation. If you would like to elaborate on your proposal, please modify your post above. If sufficient detail is not added, this issue will be closed.

@jeremystretch jeremystretch removed their assignment Mar 26, 2024
@jeremystretch jeremystretch added status: revisions needed This issue requires additional information to be actionable and removed status: needs triage This issue is awaiting triage by a maintainer labels Mar 26, 2024
@LHBL2003
Copy link
Author

Sorry I hope that fits better?

@LHBL2003
Copy link
Author

Especially in combination with these topics, it should be a strong further development for netbox on the topic of many VLANS.

Column VLAN Tagged VLANs as summary.
#14285

Interface VLAN group (Memory last filter)
#15273

@jeremystretch jeremystretch added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation and removed status: revisions needed This issue requires additional information to be actionable labels Apr 3, 2024
@LHBL2003
Copy link
Author

LHBL2003 commented Apr 5, 2024

Hi jeremystretch, (and I'm not tagging you as requested ;)

I think I have found a very, very, very good solution with the "Open Selector". And I hope you like it just as much. Even if I found the relatively new "Open Selector" function rather impractical at some point. But here the function would fit 1000% and really do a good job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants