From 227888db2d9a77e6ef66759f378884e529c94656 Mon Sep 17 00:00:00 2001
From: Eric Guppy <eric.guppy@geant.org>
Date: Mon, 15 Jul 2024 08:20:49 +0000
Subject: [PATCH] Update bgp.j2   eg-added ipv4 and ipv6 to p-only groups, as
 when using Nokia PE routers, these do not add a transport mpls label for the
 global table, unlike Junos. Checked with Nomios & Nokia we need this.

---
 .../roles/base_config/templates/routers/nokia/router/bgp.j2     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/geant/gap_ansible/roles/base_config/templates/routers/nokia/router/bgp.j2 b/geant/gap_ansible/roles/base_config/templates/routers/nokia/router/bgp.j2
index d56ae85c..c710e24f 100644
--- a/geant/gap_ansible/roles/base_config/templates/routers/nokia/router/bgp.j2
+++ b/geant/gap_ansible/roles/base_config/templates/routers/nokia/router/bgp.j2
@@ -15,6 +15,7 @@
                     <local-address>{{ lo_ipv4_address }}</local-address>
                     <family>
                         <mcast-ipv4>true</mcast-ipv4>
+                        <ipv4>true</ipv4>
                     </family>
                 </group>
                 <group alu:operation="replace">
@@ -26,6 +27,7 @@
                     <local-address>{{ lo_ipv6_address }}</local-address>
                     <family>
                         <mcast-ipv6>true</mcast-ipv6>
+                        <ipv6>true</ipv6>
                     </family>
                 </group>
             {# Here goes the neighbors#}
-- 
GitLab