Skip to content
Snippets Groups Projects

Add local address in BGP neighbor template

Merged Aleksandr Kurbatov requested to merge fix/bgp-neighbor-fix into develop
4 files
+ 24
1
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -26,7 +26,19 @@
</auto-bind-tunnel>
</mpls>
</bgp-ipvpn>
{% if vprn.aggregates is defined %}
<aggregates>
{% for ag in vprn.aggregates %}
<aggregate>
<ip-prefix>{{ ag.ip_prefix }}</ip-prefix>
<community>{{ ag.community }}</community>
<discard-component-communities>{{ ag.dcc }}</discard-component-communities>
</aggregate>
{% endfor %}
</aggregates>
{% endif %}
<bgp>
<description>{{ vprn.name }}</description>
{% with bgp_base_obj=vprn.bgp, bgp_context='vprn' %}
{% include 'router/bgp_base.j2' %}
{% endwith %}
Loading