From 9cbe0319b4c19be5b1fb709c4a3b2fa7ed9edc48 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurbatov <ak@geant.org> Date: Thu, 22 May 2025 14:42:20 +0100 Subject: [PATCH] policy_options: support for prefix-list-override --- .../roles/policy_options/templates/policy_statements.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/geant/gap_ansible/roles/policy_options/templates/policy_statements.j2 b/geant/gap_ansible/roles/policy_options/templates/policy_statements.j2 index d0d11801..3c56ee02 100644 --- a/geant/gap_ansible/roles/policy_options/templates/policy_statements.j2 +++ b/geant/gap_ansible/roles/policy_options/templates/policy_statements.j2 @@ -26,6 +26,14 @@ <prefix-list>{{ pl }}</prefix-list> {% endfor %} {% endif %} + {% if entry.from.prefix_list_override is defined %} + {% for pl in entry.from.prefix_list_override %} + <prefix-list-override> + <prefix-list>{{ pl.name }}</prefix-list> + <type>{{ pl.type }}</type> + </prefix-list-override> + {% endfor %} + {% endif %} {% if entry.from.policy is defined %} <policy>{{ entry.from.policy }}</policy> {% endif %} -- GitLab