]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: bmp, handle imported bgp instances for peer up/down events
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 7 Nov 2024 13:28:39 +0000 (14:28 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 7 Jan 2025 14:35:31 +0000 (15:35 +0100)
commitf8a693311145559fe4072db7cf1e04e0a0681957
treecef2b815661066029d02f9d92621a5498547b081
parentc032d532556ab4e1cbef9862f7eb9100dbd1126e
bgpd: bmp, handle imported bgp instances for peer up/down events

Only the peer transition events of the local BGP instance where BMP
is configured, were handled.
Add the support for peers from imported BGP instances:
- Add an internal API bmp_send_bt() function to handle stream
emission per bmp target
- Modify the BMP peer transition code to export the peer status
notifications to all BMP instances importing it.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_bmp.c