-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bmp dynamic feature switch in frr side config.
- Loading branch information
1 parent
aa9a13b
commit 5239344
Showing
5 changed files
with
199 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
src/sonic-config-engine/tests/sample_output/py2/bgpd_frr_bmp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
! | ||
! template: bgpd/bgpd.conf.j2 | ||
! | ||
! | ||
! =========== Managed by sonic-cfggen DO NOT edit manually! ==================== | ||
! generated by templates/quagga/bgpd.conf.j2 with config DB data | ||
! file: bgpd.conf | ||
! | ||
! | ||
! template: common/daemons.common.conf.j2 | ||
! | ||
hostname switch-t0 | ||
password zebra | ||
enable password zebra | ||
! | ||
log syslog informational | ||
log facility local4 | ||
! | ||
! end of template: common/daemons.common.conf.j2! | ||
agentx | ||
! | ||
! | ||
! | ||
! template: bgpd/bgpd.main.conf.j2 | ||
! | ||
! bgp multiple-instance | ||
! | ||
! BGP configuration | ||
! | ||
! TSA configuration | ||
! | ||
ip prefix-list PL_LoopbackV4 permit 10.1.0.32/32 | ||
! | ||
ipv6 prefix-list PL_LoopbackV6 permit fc00:1::/64 | ||
! | ||
ip prefix-list LOCAL_VLAN_IPV4_PREFIX seq 5 permit 192.168.0.0/27 | ||
! | ||
ip prefix-list LOCAL_VLAN_IPV4_PREFIX seq 10 permit 192.168.200.0/27 | ||
! | ||
! | ||
! | ||
router bgp 65100 | ||
! | ||
bgp log-neighbor-changes | ||
bgp suppress-fib-pending | ||
no bgp default ipv4-unicast | ||
no bgp ebgp-requires-policy | ||
! | ||
bgp bestpath as-path multipath-relax | ||
! | ||
bgp graceful-restart restart-time 240 | ||
bgp graceful-restart | ||
bgp graceful-restart preserve-fw-state | ||
bgp graceful-restart select-defer-time 45 | ||
! | ||
! | ||
bmp mirror buffer-limit 4294967214 | ||
! | ||
bmp targets sonic-bmp | ||
bmp stats interval 1000 | ||
bmp monitor ipv4 unicast pre-policy | ||
bmp monitor ipv6 unicast pre-policy | ||
bmp connect 127.0.0.1 port 5000 min-retry 1000 max-retry 2000 | ||
! | ||
! | ||
bgp router-id 10.1.0.32 | ||
! | ||
network 10.1.0.32/32 | ||
! | ||
address-family ipv6 | ||
network fc00:1::32/64 | ||
exit-address-family | ||
! | ||
network 192.168.0.1/27 | ||
network 192.168.200.1/27 | ||
! | ||
! | ||
! | ||
address-family ipv4 | ||
maximum-paths 64 | ||
exit-address-family | ||
address-family ipv6 | ||
maximum-paths 64 | ||
exit-address-family | ||
! | ||
! end of template: bgpd/bgpd.main.conf.j2 | ||
!! | ||
! end of template: bgpd/bgpd.conf.j2 | ||
! |
89 changes: 89 additions & 0 deletions
89
src/sonic-config-engine/tests/sample_output/py3/bgpd_frr_bmp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
! | ||
! template: bgpd/bgpd.conf.j2 | ||
! | ||
! | ||
! =========== Managed by sonic-cfggen DO NOT edit manually! ==================== | ||
! generated by templates/quagga/bgpd.conf.j2 with config DB data | ||
! file: bgpd.conf | ||
! | ||
! | ||
! template: common/daemons.common.conf.j2 | ||
! | ||
hostname switch-t0 | ||
password zebra | ||
enable password zebra | ||
! | ||
log syslog informational | ||
log facility local4 | ||
! | ||
! end of template: common/daemons.common.conf.j2! | ||
agentx | ||
! | ||
! | ||
! | ||
! template: bgpd/bgpd.main.conf.j2 | ||
! | ||
! bgp multiple-instance | ||
! | ||
! BGP configuration | ||
! | ||
! TSA configuration | ||
! | ||
ip prefix-list PL_LoopbackV4 permit 10.1.0.32/32 | ||
! | ||
ipv6 prefix-list PL_LoopbackV6 permit fc00:1::/64 | ||
! | ||
ip prefix-list LOCAL_VLAN_IPV4_PREFIX seq 5 permit 192.168.0.0/27 | ||
! | ||
ip prefix-list LOCAL_VLAN_IPV4_PREFIX seq 10 permit 192.168.200.0/27 | ||
! | ||
! | ||
! | ||
router bgp 65100 | ||
! | ||
bgp log-neighbor-changes | ||
bgp suppress-fib-pending | ||
no bgp default ipv4-unicast | ||
no bgp ebgp-requires-policy | ||
! | ||
bgp bestpath as-path multipath-relax | ||
! | ||
bgp graceful-restart restart-time 240 | ||
bgp graceful-restart | ||
bgp graceful-restart preserve-fw-state | ||
bgp graceful-restart select-defer-time 45 | ||
! | ||
! | ||
bmp mirror buffer-limit 4294967214 | ||
! | ||
bmp targets sonic-bmp | ||
bmp stats interval 1000 | ||
bmp monitor ipv4 unicast pre-policy | ||
bmp monitor ipv6 unicast pre-policy | ||
bmp connect 127.0.0.1 port 5000 min-retry 1000 max-retry 2000 | ||
! | ||
! | ||
bgp router-id 10.1.0.32 | ||
! | ||
network 10.1.0.32/32 | ||
! | ||
address-family ipv6 | ||
network fc00:1::32/64 | ||
exit-address-family | ||
! | ||
network 192.168.0.1/27 | ||
network 192.168.200.1/27 | ||
! | ||
! | ||
! | ||
address-family ipv4 | ||
maximum-paths 64 | ||
exit-address-family | ||
address-family ipv6 | ||
maximum-paths 64 | ||
exit-address-family | ||
! | ||
! end of template: bgpd/bgpd.main.conf.j2 | ||
!! | ||
! end of template: bgpd/bgpd.conf.j2 | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters