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"
|
"PortRange"
|
||||||
"FlowLabel"
|
"FlowLabel"
|
||||||
"IPDoNotFragment"
|
"IPDoNotFragment"
|
||||||
|
"Independent"
|
||||||
])
|
])
|
||||||
(assertInt "VNI")
|
(assertInt "VNI")
|
||||||
(assertRange "VNI" 1 16777215)
|
(assertRange "VNI" 1 16777215)
|
||||||
|
@ -242,6 +243,7 @@ let
|
||||||
(assertInt "FlowLabel")
|
(assertInt "FlowLabel")
|
||||||
(assertRange "FlowLabel" 0 1048575)
|
(assertRange "FlowLabel" 0 1048575)
|
||||||
(assertValueOneOf "IPDoNotFragment" (boolValues + ["inherit"]))
|
(assertValueOneOf "IPDoNotFragment" (boolValues + ["inherit"]))
|
||||||
|
(assertValueOneOf "Independent" boolValues)
|
||||||
];
|
];
|
||||||
|
|
||||||
sectionTunnel = checkUnitConfig "Tunnel" [
|
sectionTunnel = checkUnitConfig "Tunnel" [
|
||||||
|
|
Loading…
Reference in a new issue