From fc9b264b51dc5edfab76091fae1218b8cb2d3f55 Mon Sep 17 00:00:00 2001 From: Ruben Herold Date: Wed, 29 May 2019 14:16:33 +0200 Subject: T1390: Add Support for bgp bestpath as-path multipath-relax (cherry picked from commit 50cf64c80da6d964bffaaa27149a55b25a4c09d0) --- scripts/bgp/vyatta-bgp.pl | 4 ++++ .../bgp/node.tag/parameters/bestpath/as-path/multipath-relax/node.def | 1 + 2 files changed, 5 insertions(+) create mode 100644 templates/protocols/bgp/node.tag/parameters/bestpath/as-path/multipath-relax/node.def diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 6d989089..799240af 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -619,6 +619,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 -- cgit v1.2.3