luci-mod-network: change IPv6 suffix to token

The term "token" is widely used, e.g. in the relevant internet draft [1],
ip-token(8), systemd-network(5), NetworkManager [2], etc.

[1] https://datatracker.ietf.org/doc/html/draft-chown-6man-tokenised-ipv6-identifiers-02
[2] https://networkmanager.dev/docs/api/1.32.10/settings-ipv6.html

Signed-off-by: David Härdeman <david@hardeman.nu>
This commit is contained in:
David Härdeman
2025-10-05 08:22:15 +02:00
committed by Paul Donald
parent 0a8a41f4cf
commit 6b92594605

View File

@@ -858,8 +858,9 @@ return view.extend({
});
so = ss.option(form.Value, 'hostid',
_('IPv6-Suffix (hex)'),
_('The IPv6 interface identifier (address suffix) as hexadecimal number (max. 16 chars).'));
_('IPv6 Token'),
_('The hexadecimal <abbr title="Address suffix"><a href="%s">IPv6 token</a></abbr> for this host (up to 16 chars, i.e. 64 bits).')
.format('https://datatracker.ietf.org/doc/html/draft-chown-6man-tokenised-ipv6-identifiers-02'));
so.datatype = 'and(rangelength(0,16),hexstring)';
so = ss.option(form.DynamicList, 'tag',