Aggregate VLANs into Groups when Selecting VLANs in a dropdown #997

Closed
opened 2025-12-29 16:27:41 +01:00 by adam · 1 comment
Owner

Originally created by @lampwins on GitHub (May 26, 2017).

Issue type: feature request

Currently, all VLANs are displayed in the VLAN dropdown regardless of the group they are assigned to, if any. This makes it very hard to distinguish two VLANs with the same name that are a member of two different groups.

screen shot 2017-05-26 at 10 16 36 am

What I propose is grouping VLANs in the dropdown by their VLAN Group membership, using the simple html optgroup (or similar, but I believe django has native support for this so long as the data is formatted as such). VLAN's in the Global namespace will be grouped as 'Global' At the top of the list.

Originally created by @lampwins on GitHub (May 26, 2017). <!-- Please note: GitHub issues are to be used only for feature requests and bug reports. For installation assistance or general discussion, please join us on the mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please indicate "bug report" or "feature request" below. Be sure to search the existing set of issues (both open and closed) to see if a similar issue has already been raised. --> ### Issue type: feature request Currently, all VLANs are displayed in the VLAN dropdown regardless of the group they are assigned to, if any. This makes it very hard to distinguish two VLANs with the same name that are a member of two different groups. ![screen shot 2017-05-26 at 10 16 36 am](https://cloud.githubusercontent.com/assets/1297132/26498406/f69a2766-41fc-11e7-9a9a-35e31b15ba2a.png) What I propose is grouping VLANs in the dropdown by their VLAN Group membership, using the simple html `optgroup` (or similar, but I believe django has native support for this so long as the data is formatted as such). VLAN's in the Global namespace will be grouped as 'Global' At the top of the list.
adam closed this issue 2025-12-29 16:27:42 +01:00
Author
Owner

@lampwins commented on GitHub (May 26, 2017):

Whoops, looks like this is very closely related to #704. I will move my prosed solution there.

@lampwins commented on GitHub (May 26, 2017): Whoops, looks like this is very closely related to #704. I will move my prosed solution there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#997