summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-graceful-restart.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-30 22:34:42 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-30 22:51:50 +0200
commit4a2c752303da9af69eaf1d4b95da8cfed797cfbd (patch)
treebbba79b2442a8b75dba163c18ce5809c5deed62d /interface-definitions/include/bgp/neighbor-graceful-restart.xml.i
parentd11a18f820b84a7d4af6ee0eccbfc0a2351a6f4e (diff)
downloadvyos-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/neighbor-graceful-restart.xml.i')
-rw-r--r--interface-definitions/include/bgp/neighbor-graceful-restart.xml.i25
1 files changed, 25 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 -->