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

VPRN - add BGP multipath support

parent 256485d8
Branches
Tags
1 merge request!165BGP neighbor template update
Pipeline #88760 passed
......@@ -38,6 +38,28 @@
{% endfor %}
</best-path-selection>
{% endif %}
{% if vprn.bgp.multipath is defined %}
<multipath>
{% if vprn.bgp.multipath.ibgp is defined %}
<ibgp>{{ vprn.bgp.multipath.ibgp }}</ibgp>
{% endif %}
{% if vprn.bgp.multipath.ebgp is defined %}
<ebgp>{{ vprn.bgp.multipath.ebgp }}</ebgp>
{% endif %}
{% if vprn.bgp.multipath.ipv4 is defined %}
<family>
<family-type>ipv4</family-type>
<max-paths>{{ vprn.bgp.multipath.ipv4 }}</max-paths>
</family>
{% endif %}
{% if vprn.bgp.multipath.ipv6 is defined %}
<family>
<family-type>ipv6</family-type>
<max-paths>{{ vprn.bgp.multipath.ipv6 }}</max-paths>
</family>
{% endif %}
</multipath>
{% endif %}
{% with bgp_obj=vprn.bgp, bgp_group_context='vprn' %}
{% include 'router/bgp_group.j2' %}
{% endwith %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment