diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-30 22:34:42 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-04-30 22:51:50 +0200 |
commit | 4a2c752303da9af69eaf1d4b95da8cfed797cfbd (patch) | |
tree | bbba79b2442a8b75dba163c18ce5809c5deed62d /interface-definitions/include/bgp | |
parent | d11a18f820b84a7d4af6ee0eccbfc0a2351a6f4e (diff) | |
download | vyos-1x-4a2c752303da9af69eaf1d4b95da8cfed797cfbd.tar.gz vyos-1x-4a2c752303da9af69eaf1d4b95da8cfed797cfbd.zip |
bgp: T3504: add support for per-peer graceful shutdown
This commit has a dependecy on https://github.com/FRRouting/frr/issues/8403,
thus support will be "commented out" by default.
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r-- | interface-definitions/include/bgp/neighbor-graceful-restart.xml.i | 25 | ||||
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 9 |
2 files changed, 34 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/neighbor-graceful-restart.xml.i b/interface-definitions/include/bgp/neighbor-graceful-restart.xml.i new file mode 100644 index 000000000..25558cd5c --- /dev/null +++ b/interface-definitions/include/bgp/neighbor-graceful-restart.xml.i @@ -0,0 +1,25 @@ +<!-- include start from bgp/neighbor-graceful-restart.xml.i --> +<leafNode name="graceful-restart"> + <properties> + <help>BGP graceful restart functionality</help> + <completionHelp> + <list>enable disable restart-helper</list> + </completionHelp> + <valueHelp> + <format>enable</format> + <description>Enable BGP graceful restart at peer level</description> + </valueHelp> + <valueHelp> + <format>disable</format> + <description>Disable BGP graceful restart at peer level</description> + </valueHelp> + <valueHelp> + <format>restart-helper</format> + <description>Enable BGP graceful restart helper only functionality</description> + </valueHelp> + <constraint> + <regex>^(enable|disable|restart-helper)$</regex> + </constraint> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index 1d5fe88b1..9c17780bf 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -1000,6 +1000,10 @@ #include <include/bgp/neighbor-disable-capability-negotiation.xml.i>
#include <include/bgp/neighbor-disable-connected-check.xml.i>
#include <include/bgp/neighbor-ebgp-multihop.xml.i>
+<!--
+ requires GitHub FRR issues #8403 to be fixed
+ bgp/neighbor-graceful-restart.xml.i
+-->
<node name="interface">
<properties>
<help>Interface parameters</help>
@@ -1435,6 +1439,11 @@ #include <include/bgp/neighbor-disable-capability-negotiation.xml.i>
#include <include/bgp/neighbor-disable-connected-check.xml.i>
#include <include/bgp/neighbor-ebgp-multihop.xml.i>
+<!--
+ requires GitHub FRR issues #8403 to be fixed
+ bgp/neighbor-graceful-restart.xml.i
+-->
+ #include <include/bgp/neighbor-graceful-restart.xml.i>
#include <include/bgp/neighbor-local-as.xml.i>
#include <include/bgp/neighbor-override-capability.xml.i>
#include <include/bgp/neighbor-passive.xml.i>
|