summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfett0 <fernando.gmaidana@gmail.com>2023-04-24 14:44:12 +0000
committerChristian Breunig <christian@breunig.cc>2023-04-29 07:43:09 +0200
commit4c0164755a5d7c74c35d9cef1442b77301ca6366 (patch)
treea9e7a39a6876439e43bb318e554a425083cfeea4
parentc5af4d398a77aafc743579f68603f4e30ff1bc20 (diff)
downloadvyos-1x-4c0164755a5d7c74c35d9cef1442b77301ca6366.tar.gz
vyos-1x-4c0164755a5d7c74c35d9cef1442b77301ca6366.zip
static: T5161: add BFD monitoring for static IPv6 routes
-rw-r--r--interface-definitions/include/static/static-route-bfd.xml.i9
-rw-r--r--interface-definitions/include/static/static-route6.xml.i1
2 files changed, 8 insertions, 2 deletions
diff --git a/interface-definitions/include/static/static-route-bfd.xml.i b/interface-definitions/include/static/static-route-bfd.xml.i
index dad8272c4..a05a08d12 100644
--- a/interface-definitions/include/static/static-route-bfd.xml.i
+++ b/interface-definitions/include/static/static-route-bfd.xml.i
@@ -13,12 +13,17 @@
<tagNode name="source">
<properties>
<help>Use source for BFD session</help>
- <valueHelp>
+ <valueHelp>
<format>ipv4</format>
- <description>IPv4 source</description>
+ <description>IPv4 source address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 source address</description>
</valueHelp>
<constraint>
<validator name="ipv4-address"/>
+ <validator name="ipv6-address"/>
</constraint>
</properties>
<children>
diff --git a/interface-definitions/include/static/static-route6.xml.i b/interface-definitions/include/static/static-route6.xml.i
index 1f8d54108..a83cc230b 100644
--- a/interface-definitions/include/static/static-route6.xml.i
+++ b/interface-definitions/include/static/static-route6.xml.i
@@ -50,6 +50,7 @@
#include <include/static/static-route-distance.xml.i>
#include <include/static/static-route-interface.xml.i>
#include <include/static/static-route-vrf.xml.i>
+ #include <include/static/static-route-bfd.xml.i>
</children>
</tagNode>
</children>