Skip to content
Snippets Groups Projects

PE iBGP/SDP update and backports from v1.0.x

Merged Aleksandr Kurbatov requested to merge fix/sdp-bgp-templates into develop
6 files
+ 16
48
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -60,28 +60,6 @@
@@ -60,28 +60,6 @@
</entry>
</entry>
{% set ns3.entry_id = ns3.entry_id + 10 %}
{% set ns3.entry_id = ns3.entry_id + 10 %}
{% endif %}
{% endif %}
{# This is to cover CPM-ipv6 ND case where dst_prefix_list is defined, but not src_prefix_list #}
{% if 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 #}
{# Generic ICMP filters with ICMP types #}
{% if (term.from.protocol == "icmp" or term.from.protocol == "ipv6-icmp") %}
{% if (term.from.protocol == "icmp" or term.from.protocol == "ipv6-icmp") %}
{% if term.from.icmp_types is defined %}
{% if term.from.icmp_types is defined %}
Loading