summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-02-01 17:10:18 +0100
committerChristian Breunig <christian@breunig.cc>2024-02-01 17:10:18 +0100
commite559ff4e552a0959287bee7712d887e754b25fb7 (patch)
tree5660de632f0e10430d777b8d17a346c67496713a /interface-definitions
parent1bc8d96f664a92ccfd657ac645c0c329bc720359 (diff)
downloadvyos-1x-e559ff4e552a0959287bee7712d887e754b25fb7.tar.gz
vyos-1x-e559ff4e552a0959287bee7712d887e754b25fb7.zip
bfd: T5967: add minimum-ttl option
* set protocols bfd peer <x.x.x.x> minimum-ttl <1-254> (partially cherry-picked from 1f07dcbddfcfdbb9079936ec479c5633934dd547)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/protocols-bfd.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/protocols-bfd.xml.in b/interface-definitions/protocols-bfd.xml.in
index 8900e7955..0423ebcb2 100644
--- a/interface-definitions/protocols-bfd.xml.in
+++ b/interface-definitions/protocols-bfd.xml.in
@@ -125,6 +125,18 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="minimum-ttl">
+ <properties>
+ <help>Expect packets with at least this TTL</help>
+ <valueHelp>
+ <format>u32:1-254</format>
+ <description>Minimum TTL expected</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-254"/>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="echo-mode">
<properties>
<help>Enables the echo transmission mode</help>