summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp-afi-common.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-14 17:44:03 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-14 17:44:03 +0100
commitbbeafa5ed417f25ecbbc3627a346cb9294d66c68 (patch)
treee105fdb1008306fcf41670b129f564724b811597 /interface-definitions/include/bgp-afi-common.xml.i
parent97a901dce9be808e918a719b4298e201a9a98ceb (diff)
downloadvyos-1x-bbeafa5ed417f25ecbbc3627a346cb9294d66c68.tar.gz
vyos-1x-bbeafa5ed417f25ecbbc3627a346cb9294d66c68.zip
bgp: T2315: add CLI options for addpath-tx-(all-paths|bestpath-per-AS)
* protocols bgp 65000 neighbor 192.0.2.1 address-family ipv4-unicast addpath-tx-all * protocols bgp 65000 neighbor 192.0.2.1 address-family ipv4-unicast addpath-tx-per-as * protocols bgp 65000 neighbor 2001:db8::1 address-family ipv6-unicast addpath-tx-all * protocols bgp 65000 neighbor 2001:db8::1 address-family ipv6-unicast addpath-tx-per-as
Diffstat (limited to 'interface-definitions/include/bgp-afi-common.xml.i')
-rw-r--r--interface-definitions/include/bgp-afi-common.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp-afi-common.xml.i b/interface-definitions/include/bgp-afi-common.xml.i
index 8c483f131..1a824abfe 100644
--- a/interface-definitions/include/bgp-afi-common.xml.i
+++ b/interface-definitions/include/bgp-afi-common.xml.i
@@ -1,4 +1,16 @@
<!-- included start from bgp-afi-common.xml.i -->
+<leafNode name="addpath-tx-all">
+ <properties>
+ <help>Use addpath to advertise all paths to a neighbor</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<leafNode name="addpath-tx-per-as">
+ <properties>
+ <help>Use addpath to advertise the bestpath per each neighboring AS</help>
+ <valueless/>
+ </properties>
+</leafNode>
#include <include/bgp-afi-allowas-in.xml.i>
<leafNode name="as-override">
<properties>