summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRuben Herold <ruben@puettmann.net>2019-05-29 14:09:29 +0200
committerRuben Herold <ruben@puettmann.net>2019-05-29 16:07:48 +0200
commit613742c61c12e1df7b79939b3862419a3e6cdafb (patch)
treec8683ed549231f3e95665bdec79d2e42a4ddd4a9 /scripts
parent1068e9fe5d629393b5e373f88a4d1e19ab65e6db (diff)
downloadvyatta-cfg-quagga-613742c61c12e1df7b79939b3862419a3e6cdafb.tar.gz
vyatta-cfg-quagga-613742c61c12e1df7b79939b3862419a3e6cdafb.zip
T1390: Add extended nexthop support
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index b6a006d2..42d106dc 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -526,6 +526,10 @@ my %qcom = (
set => 'router bgp #3 ; neighbor #5 capability dynamic',
del => 'router bgp #3 ; no neighbor #5 capability dynamic',
},
+ 'protocols bgp var neighbor var capability extended-nexthop' => {
+ set => 'router bgp #3 ; neighbor #5 capability extended-nexthop',
+ del => 'router bgp #3 ; no neighbor #5 capability extended-nexthop',
+ },
'protocols bgp var neighbor var local-as' => {
set => undef,
del => undef,
@@ -1043,6 +1047,10 @@ my %qcom = (
set => 'router bgp #3 ; neighbor #5 capability dynamic',
del => 'router bgp #3 ; no neighbor #5 capability dynamic',
},
+ 'protocols bgp var peer-group var capability extended-nexthop' => {
+ set => 'router bgp #3 ; neighbor #5 capability extended-nexthop',
+ del => 'router bgp #3 ; no neighbor #5 capability extended-nexthop',
+ },
'protocols bgp var peer-group var disable-capability-negotiation' => {
set => 'router bgp #3 ; neighbor #5 dont-capability-negotiate',
del => 'router bgp #3 ; no neighbor #5 dont-capability-negotiate',
@@ -1327,7 +1335,7 @@ sub checkOverwritePeerGroupParameters
return -1;
}
- my @overwritelist = ('allowas-in', 'allowas-in number', 'capability dynamic',
+ my @overwritelist = ('allowas-in', 'allowas-in number', 'capability dynamic', 'capability extended-nexthop',
'distribute-list import', 'filter-list import', 'maximum-prefix',
'port', 'prefix-list import', 'route-map import',
'soft-reconfiguration inbound', 'strict-capability-match');