From 337a130f216ac4fadac164fb32f1e6b291b5971b Mon Sep 17 00:00:00 2001
From: "ak@geant.org" <ak@geant.org>
Date: Fri, 22 Dec 2023 09:14:55 +0000
Subject: [PATCH] ntp.j2: add system time zone config

UTC is hardcoded for now.
---
 .../roles/base_config/templates/routers/nokia/ntp.j2         | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/geant/gap_ansible/roles/base_config/templates/routers/nokia/ntp.j2 b/geant/gap_ansible/roles/base_config/templates/routers/nokia/ntp.j2
index 9d8bee30..d94bfb57 100644
--- a/geant/gap_ansible/roles/base_config/templates/routers/nokia/ntp.j2
+++ b/geant/gap_ansible/roles/base_config/templates/routers/nokia/ntp.j2
@@ -1,5 +1,10 @@
   <system>
       <time>
+          <zone alu:operation="replace">
+              <standard>
+                  <name>utc</name>
+              </standard>
+          </zone>
           <ntp alu:operation="replace">
           {% for server in system_ntp.servers %}
               <server xmlns="urn:nokia.com:sros:ns:yang:sr:conf" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nokia-attr="urn:nokia.com:sros:ns:yang:sr:attributes">
-- 
GitLab