Skip to content

Commit

Permalink
Merge pull request #241370 from RaitoBezarius/vxlan-independent
Browse files Browse the repository at this point in the history
nixos/networkd: support `Independent` flag for VXLAN netdevs
  • Loading branch information
flokli authored Jul 19, 2023
2 parents 6f66c57 + faba775 commit 8f15fe7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/system/boot/networkd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ let
"PortRange"
"FlowLabel"
"IPDoNotFragment"
"Independent"
])
(assertInt "VNI")
(assertRange "VNI" 1 16777215)
Expand All @@ -242,6 +243,7 @@ let
(assertInt "FlowLabel")
(assertRange "FlowLabel" 0 1048575)
(assertValueOneOf "IPDoNotFragment" (boolValues + ["inherit"]))
(assertValueOneOf "Independent" boolValues)
];

sectionTunnel = checkUnitConfig "Tunnel" [
Expand Down

0 comments on commit 8f15fe7

Please sign in to comment.