Skip to content

Commit a2a6aea

Browse files
pavel-shirshovlguohan
authored andcommitted
[bgp]: Enable bgp soft-reconfiguration inbound for quagga templates (#1803)
* Enable bgp soft-reconfiguration inbound for quagga templates
1 parent 82343ca commit a2a6aea

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

dockers/docker-fpm-quagga/bgpd.conf.j2

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
7878
neighbor {{ neighbor_addr }} allowas-in 1
7979
{% endif %}
8080
neighbor {{ neighbor_addr }} activate
81+
neighbor {{ neighbor_addr }} soft-reconfiguration inbound
8182
maximum-paths 64
8283
exit-address-family
8384
{% endif %}
@@ -87,6 +88,7 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
8788
neighbor {{ neighbor_addr }} allowas-in 1
8889
{% endif %}
8990
neighbor {{ neighbor_addr }} activate
91+
neighbor {{ neighbor_addr }} soft-reconfiguration inbound
9092
maximum-paths 64
9193
exit-address-family
9294
{% endif %}

src/sonic-config-engine/tests/sample_output/bgpd.conf

+8
Original file line numberDiff line numberDiff line change
@@ -32,55 +32,63 @@ router bgp 65100
3232
address-family ipv4
3333
neighbor 10.0.0.57 allowas-in 1
3434
neighbor 10.0.0.57 activate
35+
neighbor 10.0.0.57 soft-reconfiguration inbound
3536
maximum-paths 64
3637
exit-address-family
3738
neighbor 10.0.0.59 remote-as 64600
3839
neighbor 10.0.0.59 description ARISTA02T1
3940
address-family ipv4
4041
neighbor 10.0.0.59 allowas-in 1
4142
neighbor 10.0.0.59 activate
43+
neighbor 10.0.0.59 soft-reconfiguration inbound
4244
maximum-paths 64
4345
exit-address-family
4446
neighbor 10.0.0.61 remote-as 64600
4547
neighbor 10.0.0.61 description ARISTA03T1
4648
address-family ipv4
4749
neighbor 10.0.0.61 allowas-in 1
4850
neighbor 10.0.0.61 activate
51+
neighbor 10.0.0.61 soft-reconfiguration inbound
4952
maximum-paths 64
5053
exit-address-family
5154
neighbor 10.0.0.63 remote-as 64600
5255
neighbor 10.0.0.63 description ARISTA04T1
5356
address-family ipv4
5457
neighbor 10.0.0.63 allowas-in 1
5558
neighbor 10.0.0.63 activate
59+
neighbor 10.0.0.63 soft-reconfiguration inbound
5660
maximum-paths 64
5761
exit-address-family
5862
neighbor fc00::7a remote-as 64600
5963
neighbor fc00::7a description ARISTA03T1
6064
address-family ipv6
6165
neighbor fc00::7a allowas-in 1
6266
neighbor fc00::7a activate
67+
neighbor fc00::7a soft-reconfiguration inbound
6368
maximum-paths 64
6469
exit-address-family
6570
neighbor fc00::7e remote-as 64600
6671
neighbor fc00::7e description ARISTA04T1
6772
address-family ipv6
6873
neighbor fc00::7e allowas-in 1
6974
neighbor fc00::7e activate
75+
neighbor fc00::7e soft-reconfiguration inbound
7076
maximum-paths 64
7177
exit-address-family
7278
neighbor fc00::72 remote-as 64600
7379
neighbor fc00::72 description ARISTA01T1
7480
address-family ipv6
7581
neighbor fc00::72 allowas-in 1
7682
neighbor fc00::72 activate
83+
neighbor fc00::72 soft-reconfiguration inbound
7784
maximum-paths 64
7885
exit-address-family
7986
neighbor fc00::76 remote-as 64600
8087
neighbor fc00::76 description ARISTA02T1
8188
address-family ipv6
8289
neighbor fc00::76 allowas-in 1
8390
neighbor fc00::76 activate
91+
neighbor fc00::76 soft-reconfiguration inbound
8492
maximum-paths 64
8593
exit-address-family
8694
!

0 commit comments

Comments
 (0)