diff options
author | fett0 <fernando.gmaidana@gmail.com> | 2023-04-21 18:07:16 +0000 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-04-29 07:43:03 +0200 |
commit | c5af4d398a77aafc743579f68603f4e30ff1bc20 (patch) | |
tree | b7bcfd2a8758de16253dd5d45e040f6cbce77655 /interface-definitions | |
parent | 78a9eaaf8be3daa980b91abf254d484075d103e8 (diff) | |
download | vyos-1x-c5af4d398a77aafc743579f68603f4e30ff1bc20.tar.gz vyos-1x-c5af4d398a77aafc743579f68603f4e30ff1bc20.zip |
static: T5161: add BFD monitoring for static routes
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/static/static-route-bfd.xml.i | 32 | ||||
-rw-r--r-- | interface-definitions/include/static/static-route.xml.i | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/interface-definitions/include/static/static-route-bfd.xml.i b/interface-definitions/include/static/static-route-bfd.xml.i new file mode 100644 index 000000000..dad8272c4 --- /dev/null +++ b/interface-definitions/include/static/static-route-bfd.xml.i @@ -0,0 +1,32 @@ +<!-- include start from static/static-route-bfd.xml.i --> +<node name="bfd"> + <properties> + <help>BFD monitoring</help> + </properties> + <children> + #include <include/bfd/profile.xml.i> + <node name="multi-hop"> + <properties> + <help>Use BFD multi hop session</help> + </properties> + <children> + <tagNode name="source"> + <properties> + <help>Use source for BFD session</help> + <valueHelp> + <format>ipv4</format> + <description>IPv4 source</description> + </valueHelp> + <constraint> + <validator name="ipv4-address"/> + </constraint> + </properties> + <children> + #include <include/bfd/profile.xml.i> + </children> + </tagNode> + </children> + </node> + </children> +</node> +<!-- include end -->
\ No newline at end of file diff --git a/interface-definitions/include/static/static-route.xml.i b/interface-definitions/include/static/static-route.xml.i index 268cfa005..29921a731 100644 --- a/interface-definitions/include/static/static-route.xml.i +++ b/interface-definitions/include/static/static-route.xml.i @@ -51,6 +51,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> |