From 9b6bf26e9bb7557c2a01ff1846626ef04314441b Mon Sep 17 00:00:00 2001 From: Aleksandr Kurbatov <ak@geant.org> Date: Thu, 26 Sep 2024 11:25:19 +0100 Subject: [PATCH] Removed special block for IPV6_ND IPV6_ND is now covered by the more generic block for DST-enabled terms. --- .../routers/nokia/filters/fw_filters.j2 | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/geant/gap_ansible/roles/base_config/templates/routers/nokia/filters/fw_filters.j2 b/geant/gap_ansible/roles/base_config/templates/routers/nokia/filters/fw_filters.j2 index e5ff8093..8422b839 100644 --- a/geant/gap_ansible/roles/base_config/templates/routers/nokia/filters/fw_filters.j2 +++ b/geant/gap_ansible/roles/base_config/templates/routers/nokia/filters/fw_filters.j2 @@ -58,28 +58,6 @@ </entry> {% set ns3.entry_id = ns3.entry_id + 10 %} {% endif %} - {# This is to cover CPM-ipv6 ND case where dst_prefix_list is defined, but not src_prefix_list #} - {% if term.from.protocol is defined and term.from.protocol == "ipv6-icmp" and term.from.dst_prefix_list is defined %} - {% for dst_prefix_list_item in term.from.dst_prefix_list %} - <entry> - <entry-id>{{ ns3.entry_id }}</entry-id> - <description>{{ term.name }}</description> - {% if term.log is defined %} - <log>{{ term.log }}</log> - {% endif %} - <match> - <next-header>{{ term.from.protocol }}</next-header> - <dst-ip> - <ipv6-prefix-list>{{term.from.dst_prefix_list[loop.index0]}}</ipv6-prefix-list> - </dst-ip> - </match> - <action> - <{{ term.action }}></{{ term.action }}> - </action> - </entry> - {% set ns3.entry_id = ns3.entry_id + 10 %} - {% endfor %} - {% endif %} {# Generic ICMP filters with ICMP types #} {% if term.from.protocol is defined and (term.from.protocol == "icmp" or term.from.protocol == "ipv6-icmp") %} {% if term.from.icmp_types is defined %} -- GitLab