Skip to content
Snippets Groups Projects
Commit 40cfd636 authored by Aleksandr Kurbatov's avatar Aleksandr Kurbatov
Browse files

BGP role - update neighbor description

parent d5b25eab
No related branches found
No related tags found
1 merge request!210Fix/l3 core fixes
...@@ -5,11 +5,12 @@ ...@@ -5,11 +5,12 @@
{% if neighbor.bfd_enabled %} {% if neighbor.bfd_enabled %}
<bfd-liveness>true</bfd-liveness> <bfd-liveness>true</bfd-liveness>
{% endif %} {% endif %}
<description>{{ partner_name | upper }}_{{ partner.type }}</description>
{% if neighbor.ip_type == 'ipv4' %} {% if neighbor.ip_type == 'ipv4' %}
<description>-- Peering with {{ partner_name | upper }} --</description>
<group>{{ bgp.group.ipv4 }}</group> <group>{{ bgp.group.ipv4 }}</group>
{% elif neighbor.ip_type == 'ipv6' %} {% elif neighbor.ip_type == 'ipv6' %}
<description>-- IPv6 Peering with {{ partner_name | upper }} --</description>
<group>{{ bgp.group.ipv6 }}</group> <group>{{ bgp.group.ipv6 }}</group>
{% endif %} {% endif %}
<peer-as>{{ partner.asn }}</peer-as> <peer-as>{{ partner.asn }}</peer-as>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment