diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-30 22:05:15 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-30 22:05:15 +0200 |
commit | fef5870b764e6166b639043fadb9317c8a49881d (patch) | |
tree | 25e434126a14e2db5103659e942e7eeb710e62ac | |
parent | d962ef0f2c15333411e719f7d1b02dd7575ebdee (diff) | |
download | vyatta-cfg-quagga-fef5870b764e6166b639043fadb9317c8a49881d.tar.gz vyatta-cfg-quagga-fef5870b764e6166b639043fadb9317c8a49881d.zip |
bgp: T3524: add graceful-shutdown support
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 4 | ||||
-rw-r--r-- | templates/protocols/bgp/node.tag/parameters/graceful-shutdown/node.def | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 129224ed..3edbeab0 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -775,6 +775,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', diff --git a/templates/protocols/bgp/node.tag/parameters/graceful-shutdown/node.def b/templates/protocols/bgp/node.tag/parameters/graceful-shutdown/node.def new file mode 100644 index 00000000..4ff73f05 --- /dev/null +++ b/templates/protocols/bgp/node.tag/parameters/graceful-shutdown/node.def @@ -0,0 +1 @@ +help: Graceful shutdown |