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:
@@ -501,7 +501,6 @@ let
|
||||
"LinkLocalAddressing"
|
||||
"IPv4LLRoute"
|
||||
"DefaultRouteOnDevice"
|
||||
"IPv6Token"
|
||||
"LLMNR"
|
||||
"MulticastDNS"
|
||||
"DNSOverTLS"
|
||||
@@ -795,6 +794,10 @@ let
|
||||
"RouteAllowList"
|
||||
"DHCPv6Client"
|
||||
"RouteMetric"
|
||||
"UseMTU"
|
||||
"UseGateway"
|
||||
"UseRoutePrefix"
|
||||
"Token"
|
||||
])
|
||||
(assertValueOneOf "UseDNS" boolValues)
|
||||
(assertValueOneOf "UseDomains" (boolValues ++ ["route"]))
|
||||
@@ -877,6 +880,7 @@ let
|
||||
"Prefix"
|
||||
"PreferredLifetimeSec"
|
||||
"ValidLifetimeSec"
|
||||
"Token"
|
||||
])
|
||||
(assertValueOneOf "AddressAutoconfiguration" boolValues)
|
||||
(assertValueOneOf "OnLink" boolValues)
|
||||
|
||||
Reference in New Issue
Block a user