Interface VLAN assignment selection not filtered by selected VLAN group #5231

Closed
opened 2025-12-29 19:25:42 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Aug 25, 2021).

NetBox version

v3.0-beta2

Python version

3.7

Steps to Reproduce

  1. Create VLAN groups named A and B
  2. Create a VLAN in group A named "Foo" with VLAN ID 100
  3. Create a VLAN in group B named "Bar" with VLAN ID 100
  4. Create or edit a device interface
  5. Select "access" for the interface's 802.1Q mode
  6. Select VLAN group A
  7. View the available VLANs

Expected Behavior

Only VLAN Foo (in group A) should be listed

Observed Behavior

Both VLANs Foo and Bar are listed. This is because the API request is made with the query parameter ?vlan_group_id= rather than ?group_id=.

Originally created by @jeremystretch on GitHub (Aug 25, 2021). ### NetBox version v3.0-beta2 ### Python version 3.7 ### Steps to Reproduce 1. Create VLAN groups named A and B 2. Create a VLAN in group A named "Foo" with VLAN ID 100 3. Create a VLAN in group B named "Bar" with VLAN ID 100 4. Create or edit a device interface 5. Select "access" for the interface's 802.1Q mode 6. Select VLAN group A 7. View the available VLANs ### Expected Behavior Only VLAN Foo (in group A) should be listed ### Observed Behavior Both VLANs Foo and Bar are listed. This is because the API request is made with the query parameter `?vlan_group_id=` rather than `?group_id=`.
adam added the type: bugbeta labels 2025-12-29 19:25:42 +01:00
adam closed this issue 2025-12-29 19:25:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5231