nixos/systemd-networkd: Add missing options to VLAN (#503063)

This commit is contained in:
Sandro
2026-03-26 20:44:02 +00:00
committed by GitHub
+7
View File
@@ -291,13 +291,20 @@ let
sectionVLAN = checkUnitConfig "VLAN" [
(assertOnlyFields [
"Id"
"Protocol"
"GVRP"
"MVRP"
"LooseBinding"
"ReorderHeader"
"EgressQOSMaps"
"IngressQOSMaps"
])
(assertInt "Id")
(assertRange "Id" 0 4094)
(assertValueOneOf "Protocol" [
"802.1q"
"802.1ad"
])
(assertValueOneOf "GVRP" boolValues)
(assertValueOneOf "MVRP" boolValues)
(assertValueOneOf "LooseBinding" boolValues)