summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp-ttl-security.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-ttl-security.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-ttl-security.xml.i')
-rw-r--r--interface-definitions/include/bgp-ttl-security.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp-ttl-security.xml.i b/interface-definitions/include/bgp-ttl-security.xml.i
new file mode 100644
index 000000000..3f4d1786d
--- /dev/null
+++ b/interface-definitions/include/bgp-ttl-security.xml.i
@@ -0,0 +1,21 @@
+<!-- included start from bgp-ttl-security.xml.i -->
+<node name="ttl-security">
+ <properties>
+ <help>Ttl security mechanism</help>
+ </properties>
+ <children>
+ <leafNode name="hops">
+ <properties>
+ <help>Number of the maximum number of hops to the BGP peer</help>
+ <valueHelp>
+ <format>u32:1-254</format>
+ <description>Number of hops</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-254"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- included end -->