Merge pull request #241370 from RaitoBezarius/vxlan-independent

nixos/networkd: support `Independent` flag for VXLAN netdevs
This commit is contained in:
Florian Klink
2023-07-19 23:18:54 +03:00
committed by GitHub
+2
View File
@@ -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" [