summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/parameters-ttl.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-22 09:52:04 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-22 09:53:21 +0200
commitcccda3a0768680d1920e408afd44d96855a64e61 (patch)
tree7184d1028942e21c762ab9eec1654d1ca07837b5 /interface-definitions/include/interface/parameters-ttl.xml.i
parenteccdf2ad5340606b256ce8debe68b965c36e333c (diff)
downloadvyos-1x-cccda3a0768680d1920e408afd44d96855a64e61.tar.gz
vyos-1x-cccda3a0768680d1920e408afd44d96855a64e61.zip
xml: remove superfluous "interface" prefix from interface includes
(cherry picked from commit 0a8a0188033d6b27c521f082fdddae9873dd5d3d)
Diffstat (limited to 'interface-definitions/include/interface/parameters-ttl.xml.i')
-rw-r--r--interface-definitions/include/interface/parameters-ttl.xml.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/parameters-ttl.xml.i b/interface-definitions/include/interface/parameters-ttl.xml.i
new file mode 100644
index 000000000..21a5e5cd9
--- /dev/null
+++ b/interface-definitions/include/interface/parameters-ttl.xml.i
@@ -0,0 +1,20 @@
+<!-- include start from interface/interface-parameters-ttl.xml.i -->
+<leafNode name="ttl">
+ <properties>
+ <help>Specifies TTL value to use in outgoing packets</help>
+ <valueHelp>
+ <format>0</format>
+ <description>Copy value from original IP header</description>
+ </valueHelp>
+ <valueHelp>
+ <format>1-255</format>
+ <description>Time to Live</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-255"/>
+ </constraint>
+ <constraintErrorMessage>TTL must be between 0 and 255</constraintErrorMessage>
+ </properties>
+ <defaultValue>0</defaultValue>
+</leafNode>
+<!-- include end -->