From b9219996a751afb0ee805b1f7c9c572e4023c878 Mon Sep 17 00:00:00 2001
From: Aleksandr Kurbatov <ak@geant.org>
Date: Tue, 12 Nov 2024 15:14:31 +0000
Subject: [PATCH] Add `multicast-import` into ISIS when router_role=PE
---
.../roles/bc_templates/routers/nokia/router/isis.j2 | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/geant/gap_ansible/roles/bc_templates/routers/nokia/router/isis.j2 b/geant/gap_ansible/roles/bc_templates/routers/nokia/router/isis.j2
index 9ea51d2e..af18884d 100644
--- a/geant/gap_ansible/roles/bc_templates/routers/nokia/router/isis.j2
+++ b/geant/gap_ansible/roles/bc_templates/routers/nokia/router/isis.j2
@@ -12,6 +12,12 @@
<system-id>{{ iso_system_id }}</system-id>
<traffic-engineering>true</traffic-engineering>
<area-address>{{ geant_iso_area_id }}</area-address>
+ {% if router_role == 'pe' %}
+ <multicast-import>
+ <ipv4>true</ipv4>
+ <ipv6>true</ipv6>
+ </multicast-import>
+ {% endif %}
<overload-on-boot>
<timeout>300</timeout>
</overload-on-boot>
--
GitLab