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
No related branches found
No related tags found
1 merge request!165BGP neighbor template update
Pipeline #88760 passed
...@@ -38,6 +38,28 @@ ...@@ -38,6 +38,28 @@
{% endfor %} {% endfor %}
</best-path-selection> </best-path-selection>
{% endif %} {% 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' %} {% with bgp_obj=vprn.bgp, bgp_group_context='vprn' %}
{% include 'router/bgp_group.j2' %} {% include 'router/bgp_group.j2' %}
{% endwith %} {% endwith %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment