From b2330c5db4616e3638e00d812bc1d6e7e8acea90 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurbatov <ak@geant.org> Date: Mon, 17 Mar 2025 12:53:59 +0000 Subject: [PATCH] Fix Juniper routing instance names Use inventory-defined values --- .../roles/bgp_config/templates/juniper/deactivate/bgp.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geant/gap_ansible/roles/bgp_config/templates/juniper/deactivate/bgp.j2 b/geant/gap_ansible/roles/bgp_config/templates/juniper/deactivate/bgp.j2 index f61569ca..b0e88b28 100644 --- a/geant/gap_ansible/roles/bgp_config/templates/juniper/deactivate/bgp.j2 +++ b/geant/gap_ansible/roles/bgp_config/templates/juniper/deactivate/bgp.j2 @@ -7,9 +7,9 @@ {% endif %} {% elif subscription.l3_core_service_type in l3_service_types.vprn %} {% if neighbor.ip_type == 'ipv4' %} - deactivate routing-instances {{ subscription.l3_core_service_type }} protocols bgp group {{ bgp.group.ipv4_juniper }} neighbor {{ neighbor.peer_address }} + deactivate routing-instances {{ bgp.routing_instance_juniper }} protocols bgp group {{ bgp.group.ipv4_juniper }} neighbor {{ neighbor.peer_address }} {% elif neighbor.ip_type == 'ipv6' %} - deactivate routing-instances {{ subscription.l3_core_service_type }} protocols bgp group {{ bgp.group.ipv6_juniper }} neighbor {{ neighbor.peer_address }} + deactivate routing-instances {{ bgp.routing_instance_juniper }} protocols bgp group {{ bgp.group.ipv6_juniper }} neighbor {{ neighbor.peer_address }} {% endif %} {% endif %} {% endfor %} -- GitLab