Using GoBGP as a Go Native BGP library With SQL connect to get routes

We need BGP program that can use database to announce prefixes (our blackhole database and secure internet profiles that have black lists).

– Need VPN4 address family support as we are using different VRF for profiling.
I have used /gobgp (GoBGP) native library for ibgp connection for our network.
Below script is just for testing purposes. Each prefix in the database have its own next-hop, route-target or rd.
current release of /gobgp sends each vpn4 prefix in a single update. If you have large number of routes this will increase the convergence time. I have changed table/message.go for sending single update for vpn4 routes that have same rd and nexthop, /gobgp.