summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorzsdc <taras@sentrium.io>2019-08-09 18:19:46 +0300
committerzsdc <taras@sentrium.io>2019-08-09 18:23:19 +0300
commitf7a7a936d4b1b2b0028fcfc1a1fcebfd069b239b (patch)
tree44ca703abbc1dd6aae94e3805b31b86f8bd67037 /interface-definitions
parentd96cfc8a5b1e9f9a3484a4c4036dddabfc588f5b (diff)
downloadvyos-1x-f7a7a936d4b1b2b0028fcfc1a1fcebfd069b239b.tar.gz
vyos-1x-f7a7a936d4b1b2b0028fcfc1a1fcebfd069b239b.zip
[bfd] T1183: Added some new functionality and fixed bugs in BFD:
* added option "echo-mode" and "echo-interval" for BFD peers * added configuration check for usage "multihop" and "echo-mode" * added configuration check for denying deletion BFD peers, which are used in BGP configuration * fixed deleting/changing BFD peers with custom parameters (for example multihop, local-address, etc.) * deleted wrong skipping of configuration check for "shutdown" BFD peers
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/protocols-bfd.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/interface-definitions/protocols-bfd.xml b/interface-definitions/protocols-bfd.xml
index 47d5bf97d..f2d7d7d2f 100644
--- a/interface-definitions/protocols-bfd.xml
+++ b/interface-definitions/protocols-bfd.xml
@@ -91,6 +91,18 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="echo-interval">
+ <properties>
+ <help>Echo receive transmission interval</help>
+ <valueHelp>
+ <format>10-60000</format>
+ <description>The minimal echo receive transmission interval that this system is capable of handling</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 10-60000"/>
+ </constraint>
+ </properties>
+ </leafNode>
</children>
</node>
<leafNode name="shutdown">
@@ -105,6 +117,12 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="echo-mode">
+ <properties>
+ <help>Enables the echo transmission mode</help>
+ <valueless/>
+ </properties>
+ </leafNode>
</children>
</tagNode>
</children>