diff options
| author | Indrajit Raychaudhuri <irc@indrajit.com> | 2026-05-14 06:39:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-14 14:39:39 +0300 |
| commit | a4cf50f68bdcfd14cfcb51b2ff3f4058c1a0f5c6 (patch) | |
| tree | 8a7c41c820b0e88d15e417b0df70f7f96ce3dfac /interface-definitions/include | |
| parent | 080557810cf5e4c50852129156b10bcdcfbc7988 (diff) | |
| download | vyos-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/include')
| -rw-r--r-- | interface-definitions/include/dhcp/option-v6.xml.i | 11 |
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> |
