nixos/systemd-networkd: Add missing options to VLAN (#503063)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user