summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-05-17 12:48:15 -0700
committerChristian Poessinger <christian@poessinger.com>2019-08-19 22:31:18 +0200
commit1804d6db4b68fed7fb87307a0aa8432eb53924a4 (patch)
tree86d1778374b36962b7881d37fcbb902045935540 /scripts/bgp/vyatta-bgp.pl
parent23cfa310c4b51c1f4559469ca2e05ed3de9e1521 (diff)
downloadvyatta-cfg-quagga-1804d6db4b68fed7fb87307a0aa8432eb53924a4.tar.gz
vyatta-cfg-quagga-1804d6db4b68fed7fb87307a0aa8432eb53924a4.zip
[frr-bgp] T1377 - BGP Weight Not properly applying
(cherry picked from commit 2c663d340877881c6c831a51fe8b4225f687771e)
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 2f8459a3..928f79d1 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -210,6 +210,10 @@ my %qcom = (
set => undef,
del => undef,
},
+ 'protocols bgp var neighbor var address-family ipv4-unicast weight' => {
+ set => 'router bgp #3 ; address-family ipv4 unicast ; neighbor #5 weight #9',
+ del => 'router bgp #3 ; address-family ipv4 unicast ; no neighbor #5 weight #9',
+ },
'protocols bgp var neighbor var address-family ipv6-unicast' => {
set => 'router bgp #3 ; address-family ipv6 ; neighbor #5 activate',
del => 'router bgp #3 ; address-family ipv6 ; no neighbor #5 activate',