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
commit 8f15fe7914
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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" [