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

Merge branch 'fix/bgp-template' into 'develop'

Add `local-as` under BGP base template

See merge request !186
parents 23596c77 05576d51
No related branches found
No related tags found
1 merge request!186Add `local-as` under BGP base template
Pipeline #90006 passed
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
</family> </family>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if bgp_base_obj.local_as is defined %}
<local-as alu:operation="replace">
<as-number>{{ bgp_base_obj.local_as }}</as-number>
</local-as>
{% endif %}
{% if bgp_base_obj.best_path_selection is defined %} {% if bgp_base_obj.best_path_selection is defined %}
<best-path-selection> <best-path-selection>
{% for bps in bgp_base_obj.best_path_selection %} {% for bps in bgp_base_obj.best_path_selection %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment