How to send data from bird6 to an API?

I have a ubuntu server with bird6 installed that receives block advertisements via BGP, and I intended that these advertisements that the server received were periodically forwarded to an API? Does anyone know how to do this?

(Example) Output of command: show route receive-protocol bgp 192.31.1.3

inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
  Prefix                  Nexthop              MED     Lclpref    AS path
* 192.70.0.0/22           192.31.1.3                              3000 I
* 192.70.1.0/24           192.31.1.3                              3000 I
* 192.70.2.0/24           192.31.1.3                              3000 I
* 192.70.3.0/24           192.31.1.3                              3000 I

Answer

Attribution
Source : Link , Question Author : tomas , Answer Author : Community

Leave a Comment