summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-05-17 12:48:15 -0700
committerhagbard <vyosdev@derith.de>2019-05-17 12:48:15 -0700
commit2c663d340877881c6c831a51fe8b4225f687771e (patch)
tree5281a93d3c8d7e54ae82a5f6a9ef6ff062db224f /scripts/bgp/vyatta-bgp.pl
parent1b620792f687f42b600a2d2330e71e9e3860c1d9 (diff)
downloadvyatta-cfg-quagga-2c663d340877881c6c831a51fe8b4225f687771e.tar.gz
vyatta-cfg-quagga-2c663d340877881c6c831a51fe8b4225f687771e.zip
[frr-bgp] T1377 - BGP Weight Not properly applying
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 7431405c..b6a006d2 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -209,6 +209,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',