summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-06-22 19:03:21 +0200
committerChristian Poessinger <christian@poessinger.com>2019-06-22 19:03:31 +0200
commited6f25d767383d5d6f3e57584f218545baf10af6 (patch)
treeb0521c9a2b9bfb7c702f3470dcec002c7a4fa02b /scripts/bgp/vyatta-bgp.pl
parent6bc6b27c86d5b061ab7dfd0cdcd25463a3f594ae (diff)
downloadvyatta-cfg-quagga-ed6f25d767383d5d6f3e57584f218545baf10af6.tar.gz
vyatta-cfg-quagga-ed6f25d767383d5d6f3e57584f218545baf10af6.zip
bfd: T1183: add BGP neighbor BFD support
set protocols bgp <X> neighbor <Y> bfd set protocols bgp <X> peer-group <Y> bfd
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 2a3ca514..fe62deb7 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -571,6 +571,10 @@ my %qcom = (
set => 'router bgp #3 ; neighbor #5 passive',
del => 'router bgp #3 ; no neighbor #5 passive',
},
+ 'protocols bgp var neighbor var bfd' => {
+ set => 'router bgp #3 ; neighbor #5 bfd',
+ del => 'router bgp #3 ; no neighbor #5 bfd',
+ },
'protocols bgp var neighbor var password' => {
set => 'router bgp #3 ; neighbor #5 password #7',
del => 'router bgp #3 ; no neighbor #5 password',
@@ -1104,6 +1108,10 @@ my %qcom = (
set => 'router bgp #3 ; neighbor #5 passive',
del => 'router bgp #3 ; no neighbor #5 passive',
},
+ 'protocols bgp var peer-group var bfd' => {
+ set => 'router bgp #3 ; neighbor #5 bfd',
+ del => 'router bgp #3 ; no neighbor #5 bfd',
+ },
'protocols bgp var peer-group var password' => {
set => 'router bgp #3 ; neighbor #5 password #7',
del => 'router bgp #3 ; no neighbor #5 password',