summaryrefslogtreecommitdiff
path: root/interface-definitions
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
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')
-rw-r--r--interface-definitions/include/static/bfd-multi-hop.xml.i8
-rw-r--r--interface-definitions/include/static/static-route.xml.i10
-rw-r--r--interface-definitions/include/static/static-route6.xml.i10
-rw-r--r--interface-definitions/include/version/quagga-version.xml.i2
4 files changed, 17 insertions, 13 deletions
diff --git a/interface-definitions/include/static/bfd-multi-hop.xml.i b/interface-definitions/include/static/bfd-multi-hop.xml.i
deleted file mode 100644
index e53994191..000000000
--- a/interface-definitions/include/static/bfd-multi-hop.xml.i
+++ /dev/null
@@ -1,8 +0,0 @@
-<!-- include start from static/bfd-multi-hop.xml.i -->
-<leafNode name="multi-hop">
- <properties>
- <help>Enable BFD multi-hop session (requires source-address)</help>
- <valueless/>
- </properties>
-</leafNode>
-<!-- include end -->
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>
diff --git a/interface-definitions/include/static/static-route6.xml.i b/interface-definitions/include/static/static-route6.xml.i
index e75385dc7..6fcc18b8a 100644
--- a/interface-definitions/include/static/static-route6.xml.i
+++ b/interface-definitions/include/static/static-route6.xml.i
@@ -58,8 +58,14 @@
</properties>
<children>
#include <include/bfd/profile.xml.i>
- #include <include/static/bfd-multi-hop.xml.i>
- #include <include/source-address-ipv6.xml.i>
+ <node name="multi-hop">
+ <properties>
+ <help>Configure BFD multi-hop session</help>
+ </properties>
+ <children>
+ #include <include/source-address-ipv6.xml.i>
+ </children>
+ </node>
</children>
</node>
</children>
diff --git a/interface-definitions/include/version/quagga-version.xml.i b/interface-definitions/include/version/quagga-version.xml.i
index 23d884cd4..10ca2816e 100644
--- a/interface-definitions/include/version/quagga-version.xml.i
+++ b/interface-definitions/include/version/quagga-version.xml.i
@@ -1,3 +1,3 @@
<!-- include start from include/version/quagga-version.xml.i -->
-<syntaxVersion component='quagga' version='11'></syntaxVersion>
+<syntaxVersion component='quagga' version='12'></syntaxVersion>
<!-- include end -->