summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2026-05-14 06:39:39 -0500
committerGitHub <noreply@github.com>2026-05-14 14:39:39 +0300
commita4cf50f68bdcfd14cfcb51b2ff3f4058c1a0f5c6 (patch)
tree8a7c41c820b0e88d15e417b0df70f7f96ce3dfac /interface-definitions
parent080557810cf5e4c50852129156b10bcdcfbc7988 (diff)
downloadvyos-1x-a4cf50f68bdcfd14cfcb51b2ff3f4058c1a0f5c6.tar.gz
vyos-1x-a4cf50f68bdcfd14cfcb51b2ff3f4058c1a0f5c6.zip
dhcpv6: T8849: Add time-zone support for Kea DHCPv6 (#5190)
* dhcpv6: T8849: Add time-zone support for Kea DHCPv6 Add DHCPv6 option support for time zone (RFC4833 options 41 and 42). This includes both the POSIX-style TZ string (`new-posix-timezone`) and the IANA time zone name (`new-tzdb-timezone`). * dhcpv6: T8849: Refactor per code-review suggestion * dhcpv6: T8849: Reformat for compliance
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/dhcp/option-v6.xml.i11
1 files changed, 11 insertions, 0 deletions
diff --git a/interface-definitions/include/dhcp/option-v6.xml.i b/interface-definitions/include/dhcp/option-v6.xml.i
index 202843ddf..c97d652b6 100644
--- a/interface-definitions/include/dhcp/option-v6.xml.i
+++ b/interface-definitions/include/dhcp/option-v6.xml.i
@@ -102,6 +102,17 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="time-zone">
+ <properties>
+ <help>Time zone to send to clients. Uses RFC4833 options 41 and 42</help>
+ <completionHelp>
+ <script>timedatectl list-timezones</script>
+ </completionHelp>
+ <constraint>
+ <validator name="timezone" argument="--validate"/>
+ </constraint>
+ </properties>
+ </leafNode>
<node name="vendor-option">
<properties>
<help>Vendor Specific Options</help>