summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-30 22:05:15 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-30 22:07:20 +0200
commitf6d9d6e3b9a30b9ce7194e13bacc066cc5218bcf (patch)
tree996eecb80688244a32aa728d4774f79b600230fa /scripts/bgp/vyatta-bgp.pl
parent9e675511c3fc7574da04bf4e804cd05e5f78539b (diff)
downloadvyatta-cfg-quagga-f6d9d6e3b9a30b9ce7194e13bacc066cc5218bcf.tar.gz
vyatta-cfg-quagga-f6d9d6e3b9a30b9ce7194e13bacc066cc5218bcf.zip
bgp: T3524: add graceful-shutdown support
(cherry picked from commit fef5870b764e6166b639043fadb9317c8a49881d)
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index ecd52fb4..098017c1 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -756,6 +756,10 @@ my %qcom = (
set => 'router bgp #3 ; bgp graceful-restart stalepath-time #7',
del => 'router bgp #3 ; no bgp graceful-restart stalepath-time #7',
},
+ 'protocols bgp var parameters graceful-shutdown' => {
+ set => 'router bgp #3 ; bgp graceful-shutdown',
+ del => 'router bgp #3 ; no bgp graceful-shutdown',
+ },
'protocols bgp var parameters log-neighbor-changes' => {
set => 'router bgp #3 ; bgp log-neighbor-changes',
del => 'router bgp #3 ; no bgp log-neighbor-changes',