nixos/networkd: deprecate IPv6Token=

> The IPv6Token= section in the [Network] section is deprecated, and
>> the [IPv6AcceptRA] section gained the Token= setting for its
>> replacement. The [IPv6Prefix] section also gained the Token= setting.
>> The Token= setting gained 'eui64' mode to explicitly configure an
>> address with the EUI64 algorithm based on the interface MAC address.
>> The 'prefixstable' mode can now optionally take a secret key. The
>> Token= setting in the [DHCPPrefixDelegation] section now supports all
>> algorithms supported by the same settings in the other sections.
This commit is contained in:
Vincent Haupert
2022-10-09 00:46:33 +02:00
parent 036489ffaa
commit 4367b782bc

View File

@@ -501,7 +501,6 @@ let
"LinkLocalAddressing" "LinkLocalAddressing"
"IPv4LLRoute" "IPv4LLRoute"
"DefaultRouteOnDevice" "DefaultRouteOnDevice"
"IPv6Token"
"LLMNR" "LLMNR"
"MulticastDNS" "MulticastDNS"
"DNSOverTLS" "DNSOverTLS"
@@ -795,6 +794,10 @@ let
"RouteAllowList" "RouteAllowList"
"DHCPv6Client" "DHCPv6Client"
"RouteMetric" "RouteMetric"
"UseMTU"
"UseGateway"
"UseRoutePrefix"
"Token"
]) ])
(assertValueOneOf "UseDNS" boolValues) (assertValueOneOf "UseDNS" boolValues)
(assertValueOneOf "UseDomains" (boolValues ++ ["route"])) (assertValueOneOf "UseDomains" (boolValues ++ ["route"]))
@@ -877,6 +880,7 @@ let
"Prefix" "Prefix"
"PreferredLifetimeSec" "PreferredLifetimeSec"
"ValidLifetimeSec" "ValidLifetimeSec"
"Token"
]) ])
(assertValueOneOf "AddressAutoconfiguration" boolValues) (assertValueOneOf "AddressAutoconfiguration" boolValues)
(assertValueOneOf "OnLink" boolValues) (assertValueOneOf "OnLink" boolValues)