From 266f7a46b2bb7c9c945154deab166633da372df5 Mon Sep 17 00:00:00 2001
From: Aleksandr Kurbatov <ak@geant.org>
Date: Tue, 26 Nov 2024 11:12:44 +0000
Subject: [PATCH] Change `pe_router_list` in accordance with GSO

---
 .../roles/ibgp_update/templates/nokia/add_pe_to_p.j2            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geant/gap_ansible/roles/ibgp_update/templates/nokia/add_pe_to_p.j2 b/geant/gap_ansible/roles/ibgp_update/templates/nokia/add_pe_to_p.j2
index 11e210f4..5ed84536 100644
--- a/geant/gap_ansible/roles/ibgp_update/templates/nokia/add_pe_to_p.j2
+++ b/geant/gap_ansible/roles/ibgp_update/templates/nokia/add_pe_to_p.j2
@@ -3,7 +3,7 @@
     <router>
       <router-name>Base</router-name>
         <bgp>
-          {% for pe_fqdn, pe_ipadd in pe_router_list.all.hosts.items() %}
+          {% for pe_fqdn, pe_ipadd in pe_router_list.items() %}
             <neighbor 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" alu:operation="replace">
               <ip-address>{{ pe_ipadd.lo4 }}</ip-address>
               <description>{{ pe_fqdn }}</description>
-- 
GitLab