Allow optional Q-in-Q role on VLAN Groups #18279
Labels
beta
Concerns a bug/feature in a beta release
status: needs triage
This issue is awaiting triage by a maintainer
type: feature
Introduction of new functionality to the application
NetBox version
v4.2-beta1
Feature type
Data model extension
Triage priority
N/A
Proposed functionality
Copy the
qinq_role
field from theVlan
model to theVlanGroup
model. Add validation to only allow VLANs of the same role in the group.If the Q-in-Q role is empty, I think it makes sense to allow VLANs with any Q-in-Q role, but I could also see an argument to only allow VLANs without a Q-in-Q role set and to add an additional Q-in-Q role of "Any" or "Mixed" to the VLAN Group model to explicitly allow VLANs with non-empty Q-in-Q roles as well.
Use case
If using a VLAN Group to document the VLANs available on an ENNI, they must all be SVLANs, likewise on a UNI they must all be CVLANs, so it would be nice to have the system be able to enforce that out of the box.
Database changes
Copy the
qinq_role
field from theVlan
model to theVlanGroup
model.External dependencies
None
The text was updated successfully, but these errors were encountered: