summaryrefslogtreecommitdiff
path: root/data/templates/frr/bgp.frr.tmpl
diff options
context:
space:
mode:
authorThunderstorm <47327546+stormparticle@users.noreply.github.com>2021-04-13 12:01:51 -0500
committerGitHub <noreply@github.com>2021-04-13 19:01:51 +0200
commit1c38135e3312cddd198db948efacc0c2d3d8e2cf (patch)
tree991f8b732a09ce4d2c0c85091afdf7eca2bc24cc /data/templates/frr/bgp.frr.tmpl
parent262d119196c4366f5f330fffe85ac7399b13db7a (diff)
downloadvyos-1x-1c38135e3312cddd198db948efacc0c2d3d8e2cf.tar.gz
vyos-1x-1c38135e3312cddd198db948efacc0c2d3d8e2cf.zip
bgp: T3470: add missing as-override to Jinja2 template
Diffstat (limited to 'data/templates/frr/bgp.frr.tmpl')
-rw-r--r--data/templates/frr/bgp.frr.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl
index 3598d9ff0..9b910a69f 100644
--- a/data/templates/frr/bgp.frr.tmpl
+++ b/data/templates/frr/bgp.frr.tmpl
@@ -104,6 +104,9 @@
{% if afi_config.allowas_in is defined and afi_config.allowas_in is not none %}
neighbor {{ neighbor }} allowas-in {{ afi_config.allowas_in.number if afi_config.allowas_in.number is defined }}
{% endif %}
+{% if afi_config.as_override is defined %}
+ neighbor {{ neighbor }} as-override
+{% endif %}
{% if afi_config.remove_private_as is defined %}
neighbor {{ neighbor }} remove-private-AS
{% endif %}