summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static/static-route.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-11 21:22:41 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-16 22:24:50 +0100
commit147751ec59527800e956b7ea689805ba80769abe (patch)
tree7a07ee6b6b6ad4b8cdff30c9698149a839f2b95e /interface-definitions/include/static/static-route.xml.i
parent2e4725cd77a33f91e091d86d94056f43dafd153d (diff)
downloadvyos-1x-147751ec59527800e956b7ea689805ba80769abe.tar.gz
vyos-1x-147751ec59527800e956b7ea689805ba80769abe.zip
static: T6746: migrate BFD CLI nodes
Migrate "set protocols static route <x.x.x.x/x> next-hop <y.y.y.y> bfd multi-hop source <z.z.z.z> profile <NAME>" to: "set protocols static route <x.x.x.x/x> next-hop <y.y.y.y> bfd profile bar" FRR supports only one source IP address per BFD multi-hop session. VyOS had CLI cupport for multiple source addresses which made no sense.
Diffstat (limited to 'interface-definitions/include/static/static-route.xml.i')
-rw-r--r--interface-definitions/include/static/static-route.xml.i10
1 files changed, 8 insertions, 2 deletions
diff --git a/interface-definitions/include/static/static-route.xml.i b/interface-definitions/include/static/static-route.xml.i
index fa1131118..fd7366286 100644
--- a/interface-definitions/include/static/static-route.xml.i
+++ b/interface-definitions/include/static/static-route.xml.i
@@ -57,8 +57,14 @@
</properties>
<children>
#include <include/bfd/profile.xml.i>
- #include <include/static/bfd-multi-hop.xml.i>
- #include <include/source-address-ipv4.xml.i>
+ <node name="multi-hop">
+ <properties>
+ <help>Configure BFD multi-hop session</help>
+ </properties>
+ <children>
+ #include <include/source-address-ipv4.xml.i>
+ </children>
+ </node>
</children>
</node>
</children>