summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/bgp-ttl-security.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 14:57:13 +0100
committerGitHub <noreply@github.com>2021-03-14 14:57:13 +0100
commit2785a486f798c5e36d59c58720334f7bdffcbb3e (patch)
tree1510d0c47d32b6fd5153c8d7a1775cf367cb6022 /interface-definitions/include/bgp/bgp-ttl-security.xml.i
parent0f24c5b25bc277e0604608710cf81225d765b3be (diff)
parent7d67e8609471b6a5c9761a99301f368bd6747e13 (diff)
downloadvyos-1x-2785a486f798c5e36d59c58720334f7bdffcbb3e.tar.gz
vyos-1x-2785a486f798c5e36d59c58720334f7bdffcbb3e.zip
Merge pull request #770 from c-po/vrf-dynamic-routing
VRF: support for dynamic routing protocols OSPF and BGP
Diffstat (limited to 'interface-definitions/include/bgp/bgp-ttl-security.xml.i')
-rw-r--r--interface-definitions/include/bgp/bgp-ttl-security.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/bgp-ttl-security.xml.i b/interface-definitions/include/bgp/bgp-ttl-security.xml.i
new file mode 100644
index 000000000..1fb1c2c55
--- /dev/null
+++ b/interface-definitions/include/bgp/bgp-ttl-security.xml.i
@@ -0,0 +1,21 @@
+<!-- include 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>
+<!-- include end -->