Netbox Vlan drop-down window ONLY approx. 1000 vlan will be listed #1984

Closed
opened 2025-12-29 17:21:09 +01:00 by adam · 4 comments
Owner

Originally created by @sp-heinrichsra on GitHub (Aug 31, 2018).

screenshot_netbox_editprefix2

Environment

  • Python version: Python 3.6.5
  • NetBox version: 2.4.4 (moved from different server from version: 2.3.1)

Steps to Reproduce

When editing a netbox prefix adding a VLAN from a "VLAN group" under the "Site/VLAN Assignment" the drop-down window wants to show any Vlans of the Vlan group.

Expected Behavior

In the Vlan drop-down window ANY vlan should be listed, regardless the amount of vlans (or lines in the drop-down window)

Observed Behavior

In the Vlan drop-down window ONLY approx. 1000 vlan will be listed. A Vlan group could have max. 4096 vlans (just think any vlan id is in use) with the result that only the first approx 1000 vlan are listed and there is no chance to choose e.g vlan 2018.

Originally created by @sp-heinrichsra on GitHub (Aug 31, 2018). ![screenshot_netbox_editprefix2](https://user-images.githubusercontent.com/42870642/44976858-c3205080-af66-11e8-8991-cd24dd1ddea0.png) <!-- NOTE: This form is only for reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, DO NOT open an issue. Instead, post to our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * Python version: Python 3.6.5 * NetBox version: 2.4.4 (moved from different server from version: 2.3.1) <!-- Describe in detail the steps that someone else can take to reproduce this bug using the current stable release of NetBox (or the current beta release where applicable). --> ### Steps to Reproduce When editing a netbox prefix adding a VLAN from a "VLAN group" under the "Site/VLAN Assignment" the drop-down window wants to show any Vlans of the Vlan group. <!-- What did you expect to happen? --> ### Expected Behavior In the Vlan drop-down window _ANY_ vlan should be listed, regardless the amount of vlans (or lines in the drop-down window) <!-- What happened instead? --> ### Observed Behavior In the Vlan drop-down window _ONLY approx. 1000_ vlan will be listed. A Vlan group could have max. 4096 vlans (just think any vlan id is in use) with the result that only the first approx 1000 vlan are listed and there is no chance to choose e.g vlan 2018.
adam added the type: bugstatus: accepted labels 2025-12-29 17:21:09 +01:00
adam closed this issue 2025-12-29 17:21:09 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 5, 2018):

This is expected behavior. What is the specific modification being proposed?

@jeremystretch commented on GitHub (Sep 5, 2018): This is expected behavior. What is the specific modification being proposed?
Author
Owner

@sp-heinrichsra commented on GitHub (Sep 5, 2018):

Due to the technical definition that a vlan pool could be in a range of 1 .. 4095 vlans, I would expect that the drop-down should be able to list all of the vlans in a vlan group to have the possibility to choose one vlan out of 4095 possible vlans.
Actually only the first approx. 1000 vlan are shown and there is no way to choose a vlan which is not listed within the approx. 1000 entries.

@sp-heinrichsra commented on GitHub (Sep 5, 2018): Due to the technical definition that a vlan pool could be in a range of 1 .. 4095 vlans, I would expect that the drop-down should be able to list all of the vlans in a vlan group to have the possibility to choose one vlan out of 4095 possible vlans. Actually only the first approx. 1000 vlan are shown and there is no way to choose a vlan which is not listed within the approx. 1000 entries.
Author
Owner

@jeremystretch commented on GitHub (Sep 5, 2018):

There can be more than 4095 VLANs assigned to a site (VLAN IDs don't necessarily need to be unique).

@jeremystretch commented on GitHub (Sep 5, 2018): There can be more than 4095 VLANs assigned to a site (VLAN IDs don't necessarily need to be unique).
Author
Owner

@sp-heinrichsra commented on GitHub (Sep 5, 2018):

yeah. but this is not the issue the issue is the limited number of listed vlans in the drop-down windows.
Just play with the thought we have 4000 vlan used in a vlan group; how to choose a vlan (e.g. 2000) when it is not listed in the approx. 1000 line of the drop-down window?

@sp-heinrichsra commented on GitHub (Sep 5, 2018): yeah. but this is not the issue the issue is the limited number of listed vlans in the drop-down windows. Just play with the thought we have 4000 vlan used in a vlan group; how to choose a vlan (e.g. 2000) when it is not listed in the approx. 1000 line of the drop-down window?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1984