From 1002f3bdb211c20854495d9bbfacbd5fd3e49b91 Mon Sep 17 00:00:00 2001
From: Aleksandr Kurbatov <aleksandr.kurbatov@GL1342-AKURBATOV.local>
Date: Thu, 12 Sep 2024 13:56:55 +0100
Subject: [PATCH] updated var name in `delete_p_static_routes`

---
 .../routers/nokia/router/delete_default_static_routes.j2        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geant/gap_ansible/roles/bc_templates/routers/nokia/router/delete_default_static_routes.j2 b/geant/gap_ansible/roles/bc_templates/routers/nokia/router/delete_default_static_routes.j2
index f3d8d46b..e14eb228 100644
--- a/geant/gap_ansible/roles/bc_templates/routers/nokia/router/delete_default_static_routes.j2
+++ b/geant/gap_ansible/roles/bc_templates/routers/nokia/router/delete_default_static_routes.j2
@@ -3,7 +3,7 @@
         <router 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">
           <router-name>Base</router-name>
           <static-routes 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">
-          {% for route in nokia_static_routes %}
+          {% for route in nokia_p_static_routes %}
             <route alu:operation="delete">
               <ip-prefix>{{ route.ip_prefix }}</ip-prefix>
               <route-type>{{ route.route_type }}</route-type>
-- 
GitLab