Merge pull request #241370 from RaitoBezarius/vxlan-independent
nixos/networkd: support `Independent` flag for VXLAN netdevs
This commit is contained in:
commit
8f15fe7914
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,7 @@ let
|
|||
"PortRange"
|
||||
"FlowLabel"
|
||||
"IPDoNotFragment"
|
||||
"Independent"
|
||||
])
|
||||
(assertInt "VNI")
|
||||
(assertRange "VNI" 1 16777215)
|
||||
|
@ -242,6 +243,7 @@ let
|
|||
(assertInt "FlowLabel")
|
||||
(assertRange "FlowLabel" 0 1048575)
|
||||
(assertValueOneOf "IPDoNotFragment" (boolValues + ["inherit"]))
|
||||
(assertValueOneOf "Independent" boolValues)
|
||||
];
|
||||
|
||||
sectionTunnel = checkUnitConfig "Tunnel" [
|
||||
|
|
Loading…
Reference in a new issue