Unable to add vlan group with single vlan #10206

Closed
opened 2025-12-29 21:28:17 +01:00 by adam · 1 comment
Owner

Originally created by @oscarminus on GitHub (Sep 9, 2024).

Originally assigned to: @arthanson on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.1.0

Python Version

3.11

Steps to Reproduce

  1. Add new vlan group
  2. Type "2-2,10-49" or "2,10-49"
  3. Press save

Expected Behavior

Vlan group should be created.

Observed Behavior

Error "Maximum child VID must be greater than or equal to minimum child VID ([2, 2])" is raised.

Originally created by @oscarminus on GitHub (Sep 9, 2024). Originally assigned to: @arthanson on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.1.0 ### Python Version 3.11 ### Steps to Reproduce 1. Add new vlan group 2. Type "2-2,10-49" or "2,10-49" 3. Press save ### Expected Behavior Vlan group should be created. ### Observed Behavior Error "Maximum child VID must be greater than or equal to minimum child VID ([2, 2])" is raised.
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:28:17 +01:00
adam closed this issue 2025-12-29 21:28:17 +01:00
Author
Owner

@oscarminus commented on GitHub (Sep 9, 2024):

Could be fixed in netbox/ipam/models/vlans.py by changing '>=' to '>' in line 103.

@oscarminus commented on GitHub (Sep 9, 2024): Could be fixed in netbox/ipam/models/vlans.py by changing '>=' to '>' in line 103.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10206