summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-ttl-security.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-29 23:29:47 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-29 23:29:47 +0200
commit53d1fa6f7199fdb6a93ed75c623d3da5624e2fae (patch)
treee3d7fe942ba89e5646ecaf20f8880bd541cb4f6b /interface-definitions/include/bgp/neighbor-ttl-security.xml.i
parentcf998c040c371be20be8035895989fcee3c06429 (diff)
downloadvyos-1x-53d1fa6f7199fdb6a93ed75c623d3da5624e2fae.tar.gz
vyos-1x-53d1fa6f7199fdb6a93ed75c623d3da5624e2fae.zip
bgp: xml: T2387: restructure include files and make them easier to recognize
Diffstat (limited to 'interface-definitions/include/bgp/neighbor-ttl-security.xml.i')
-rw-r--r--interface-definitions/include/bgp/neighbor-ttl-security.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/neighbor-ttl-security.xml.i b/interface-definitions/include/bgp/neighbor-ttl-security.xml.i
new file mode 100644
index 000000000..6def1fe81
--- /dev/null
+++ b/interface-definitions/include/bgp/neighbor-ttl-security.xml.i
@@ -0,0 +1,21 @@
+<!-- include start from bgp/neighbor-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>
+<!-- include end -->