summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-07 21:49:50 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-07 21:49:50 +0100
commit87bbe75152e3e0625776587c1fd4cd7104319fe1 (patch)
tree7259806059cb0a9f574dffa2123faac209a5dcf3 /interface-definitions/include
parentdd35eb76153191bc487e3ea23c3e73c753ec1d4b (diff)
downloadvyos-1x-87bbe75152e3e0625776587c1fd4cd7104319fe1.tar.gz
vyos-1x-87bbe75152e3e0625776587c1fd4cd7104319fe1.zip
bgp: T3391: add per AFI maximum-paths support
* set protocols bgp ASN address-family ipv4-unicast maximum-paths * set protocols bgp ASN address-family ipv4-unicast maximum-paths-ibgp * set protocols bgp ASN address-family ipv6-unicast maximum-paths * set protocols bgp ASN address-family ipv6-unicast maximum-paths-ibgp
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/bgp-afi-maximum-paths.xml.i26
1 files changed, 26 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 -->