summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp-timers-keepalive.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-12 21:21:48 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-12 22:27:58 +0100
commit6dadc1900d29788035a3bce5bb42eaf499ca2a83 (patch)
treeb1eaf747e1b57a0610d670e4c4d809a3ec2a60e6 /interface-definitions/include/bgp-timers-keepalive.xml.i
parent910919d856d790ff8905d513c280fdf12f8892ef (diff)
downloadvyos-1x-6dadc1900d29788035a3bce5bb42eaf499ca2a83.tar.gz
vyos-1x-6dadc1900d29788035a3bce5bb42eaf499ca2a83.zip
bgp: T2387: single-source xml templates to improve reusability
Diffstat (limited to 'interface-definitions/include/bgp-timers-keepalive.xml.i')
-rw-r--r--interface-definitions/include/bgp-timers-keepalive.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp-timers-keepalive.xml.i b/interface-definitions/include/bgp-timers-keepalive.xml.i
new file mode 100644
index 000000000..7d294c9d6
--- /dev/null
+++ b/interface-definitions/include/bgp-timers-keepalive.xml.i
@@ -0,0 +1,14 @@
+<!-- included start from bgp-timers-keepalive.xml.i -->
+<leafNode name="keepalive">
+ <properties>
+ <help>BGP keepalive interval for this neighbor</help>
+ <valueHelp>
+ <format>u32:1-65535</format>
+ <description>Keepalive interval in seconds (default 60)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- included end -->