summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp-afi-maximum-paths.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-08 19:38:11 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-08 19:38:11 +0100
commitab6ef466c128ba48f85b13ba8d4be1476e844726 (patch)
treef55c9e16ae09d7f4088906d1b6c876493ac690c1 /interface-definitions/include/bgp-afi-maximum-paths.xml.i
parent87bbe75152e3e0625776587c1fd4cd7104319fe1 (diff)
downloadvyos-1x-ab6ef466c128ba48f85b13ba8d4be1476e844726.tar.gz
vyos-1x-ab6ef466c128ba48f85b13ba8d4be1476e844726.zip
bgp: T3391: migrate old IPv4 only maximum-paths config to new syntax
Diffstat (limited to 'interface-definitions/include/bgp-afi-maximum-paths.xml.i')
-rw-r--r--interface-definitions/include/bgp-afi-maximum-paths.xml.i51
1 files changed, 29 insertions, 22 deletions
diff --git a/interface-definitions/include/bgp-afi-maximum-paths.xml.i b/interface-definitions/include/bgp-afi-maximum-paths.xml.i
index 5ee0d13a3..62133c375 100644
--- a/interface-definitions/include/bgp-afi-maximum-paths.xml.i
+++ b/interface-definitions/include/bgp-afi-maximum-paths.xml.i
@@ -1,26 +1,33 @@
<!-- included start from bgp-afi-maximum-paths.xml.i -->
-<leafNode name="maximum-paths">
+<node name="maximum-paths">
<properties>
- <help>Forward packets over multiple paths (eBGP)</help>
- <valueHelp>
- <format>u32:1-256</format>
- <description>Number of paths to consider</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-256"/>
- </constraint>
+ <help>Forward packets over multiple paths</help>
</properties>
-</leafNode>
-<leafNode name="maximum-paths-ibgp">
- <properties>
- <help>Forward packets over multiple paths (iBGP)</help>
- <valueHelp>
- <format>u32:1-256</format>
- <description>Number of paths to consider</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-256"/>
- </constraint>
- </properties>
-</leafNode>
+ <children>
+ <leafNode name="ebgp">
+ <properties>
+ <help>eBGP maximum paths</help>
+ <valueHelp>
+ <format>u32:1-256</format>
+ <description>Number of paths to consider</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-256"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="ibgp">
+ <properties>
+ <help>iBGP maximum paths</help>
+ <valueHelp>
+ <format>u32:1-256</format>
+ <description>Number of paths to consider</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-256"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
<!-- included end -->