summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-25 16:56:39 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-25 16:56:39 +0200
commit993daec9296589f122737e0c210f31879fcb1dab (patch)
treef8c00f4575f4671dfb14cc28d5c4382c7b4ce12f /data
parent4b287511af74448ebf1cdc44c7880989a6a02da1 (diff)
downloadvyos-1x-993daec9296589f122737e0c210f31879fcb1dab.tar.gz
vyos-1x-993daec9296589f122737e0c210f31879fcb1dab.zip
bgp: T3657: add "neighbor fe80::202 interface source-interface 'eth1'" command
Diffstat (limited to 'data')
-rw-r--r--data/templates/frr/bgpd.frr.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.tmpl b/data/templates/frr/bgpd.frr.tmpl
index 987b922da..27a2b98a5 100644
--- a/data/templates/frr/bgpd.frr.tmpl
+++ b/data/templates/frr/bgpd.frr.tmpl
@@ -90,6 +90,9 @@
{% if config.interface.peer_group is defined and config.interface.peer_group is not none %}
neighbor {{ neighbor }} interface peer-group {{ config.interface.peer_group }}
{% endif %}
+{% if config.interface.source_interface is defined and config.interface.source_interface is not none %}
+ neighbor {{ neighbor }} interface {{ config.interface.source_interface }}
+{% endif %}
{% if config.interface.v6only is defined and config.interface.v6only is not none %}
{% if config.interface.v6only.peer_group is defined and config.interface.v6only.peer_group is not none %}
neighbor {{ neighbor }} interface v6only peer-group {{ config.interface.v6only.peer_group }}