summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Herold <ruben@puettmann.net>2019-05-29 14:16:33 +0200
committerRuben Herold <ruben@puettmann.net>2019-05-29 16:07:54 +0200
commit50cf64c80da6d964bffaaa27149a55b25a4c09d0 (patch)
tree7dfbe744769ac704c78918ba1856af89ba013360
parent613742c61c12e1df7b79939b3862419a3e6cdafb (diff)
downloadvyatta-cfg-quagga-50cf64c80da6d964bffaaa27149a55b25a4c09d0.tar.gz
vyatta-cfg-quagga-50cf64c80da6d964bffaaa27149a55b25a4c09d0.zip
T1390: Add Support for bgp bestpath as-path multipath-relax
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl4
-rw-r--r--templates/protocols/bgp/node.tag/parameters/bestpath/as-path/multipath-relax/node.def1
2 files changed, 5 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 42d106dc..25dd4328 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -623,6 +623,10 @@ my %qcom = (
set => 'router bgp #3 ; bgp bestpath as-path ignore',
del => 'router bgp #3 ; no bgp bestpath as-path ignore',
},
+ 'protocols bgp var parameters bestpath as-path multipath-relax' => {
+ set => 'router bgp #3 ; bgp bestpath as-path multipath-relax',
+ del => 'router bgp #3 ; no bgp bestpath as-path multipath-relax',
+ },
'protocols bgp var parameters bestpath compare-routerid' => {
set => 'router bgp #3 ; bgp bestpath compare-routerid',
del => 'router bgp #3 ; no bgp bestpath compare-routerid',
diff --git a/templates/protocols/bgp/node.tag/parameters/bestpath/as-path/multipath-relax/node.def b/templates/protocols/bgp/node.tag/parameters/bestpath/as-path/multipath-relax/node.def
new file mode 100644
index 00000000..08570159
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/parameters/bestpath/as-path/multipath-relax/node.def
@@ -0,0 +1 @@
+help: specifies that BGP decision process should consider paths of equal AS_PATH length candidates for multipath computation