summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/bgp-afi-maximum-paths.xml.i26
-rw-r--r--interface-definitions/protocols-bgp.xml.in2
2 files changed, 28 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp-afi-maximum-paths.xml.i b/interface-definitions/include/bgp-afi-maximum-paths.xml.i
new file mode 100644
index 000000000..5ee0d13a3
--- /dev/null
+++ b/interface-definitions/include/bgp-afi-maximum-paths.xml.i
@@ -0,0 +1,26 @@
+<!-- included start from bgp-afi-maximum-paths.xml.i -->
+<leafNode 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>
+ </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>
+<!-- included end -->
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in
index cc4f9d2b6..c2a123313 100644
--- a/interface-definitions/protocols-bgp.xml.in
+++ b/interface-definitions/protocols-bgp.xml.in
@@ -62,6 +62,7 @@
#include <include/bgp-route-map.xml.i>
</children>
</tagNode>
+ #include <include/bgp-afi-maximum-paths.xml.i>
<node name="redistribute">
<properties>
<help>Redistribute routes from other protocols into BGP</help>
@@ -171,6 +172,7 @@
#include <include/bgp-route-map.xml.i>
</children>
</tagNode>
+ #include <include/bgp-afi-maximum-paths.xml.i>
<node name="redistribute">
<properties>
<help>Redistribute routes from other protocols into BGP</help>