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
committerDaniil Baturin <daniil@baturin.org>2019-11-17 19:44:13 +0100
commit3f1790ba4a4c2278ab0ae295e3df23f76c2a461e (patch)
treef402684ee40bb77418a8857c9916e409be2e38bc /scripts/bgp/vyatta-bgp.pl
parent2722a4d54953870505fceaa3e70ee094b96c1147 (diff)
downloadvyatta-cfg-quagga-3f1790ba4a4c2278ab0ae295e3df23f76c2a461e.tar.gz
vyatta-cfg-quagga-3f1790ba4a4c2278ab0ae295e3df23f76c2a461e.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 4d27e02c..b39556af 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -575,6 +575,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',
@@ -1108,6 +1112,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',