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

base_bgp - added support for multipath

parent d2c06774
No related branches found
No related tags found
1 merge request!165BGP neighbor template update
......@@ -25,6 +25,28 @@
</shortcut-tunnel>
</next-hop-resolution>
{% endif %}
{% if pe_bgp_base.multipath is defined %}
<multipath alu:operation="replace">
{% if pe_bgp_base.multipath.ibgp is defined %}
<ibgp>{{ pe_bgp_base.multipath.ibgp }}</ibgp>
{% endif %}
{% if pe_bgp_base.multipath.ebgp is defined %}
<ebgp>{{ pe_bgp_base.multipath.ebgp }}</ebgp>
{% endif %}
{% if pe_bgp_base.multipath.ipv4 is defined %}
<family>
<family-type>ipv4</family-type>
<max-paths>{{ pe_bgp_base.multipath.ipv4 }}</max-paths>
</family>
{% endif %}
{% if pe_bgp_base.multipath.ipv6 is defined %}
<family>
<family-type>ipv6</family-type>
<max-paths>{{ pe_bgp_base.multipath.ipv6 }}</max-paths>
</family>
{% endif %}
</multipath>
{% endif %}
{% with bgp_obj=pe_bgp_tools %}
{% include "router/bgp_group.j2" %}
{% include "router/bgp_neighbor.j2" %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment