summaryrefslogtreecommitdiff
path: root/data/templates/frr/bgp.frr.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-14 10:05:37 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-14 10:05:37 +0100
commit0c814f19cdc81360005055dbf24b627ba6449877 (patch)
treeb9b77ebfad35f443a3fa6368c3c6ac0e311393d6 /data/templates/frr/bgp.frr.tmpl
parentaec887fd6376054dc14f13d7f3a1234027dbb21b (diff)
downloadvyos-1x-0c814f19cdc81360005055dbf24b627ba6449877.tar.gz
vyos-1x-0c814f19cdc81360005055dbf24b627ba6449877.zip
bgp: T1513: make vni a multi node
Diffstat (limited to 'data/templates/frr/bgp.frr.tmpl')
-rw-r--r--data/templates/frr/bgp.frr.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl
index bfaac7144..792146be0 100644
--- a/data/templates/frr/bgp.frr.tmpl
+++ b/data/templates/frr/bgp.frr.tmpl
@@ -230,8 +230,10 @@ router bgp {{ asn }}
{% endif %}
{% endif %}
{% if afi_config.vni is defined and afi_config.vni is not none %}
- vni {{ afi_config.vni }}
+{% for vni in afi_config.vni %}
+ vni {{ vni }}
exit-vni
+{% endfor %}
{% endif %}
exit-address-family
{% endfor %}