ZeroMQ integration for route output
Hi all, I've been working on integrating BIRD into some SDN packages (VANDERVECKEN/RouteFlow, ONOS), and as part of this I've built zeromq in as an option. It's still beta, but you can stand up BIRD and poll the ZeroMQ socket and it'll reply with a route table dump in JSON. Keen to hear what people think https://github.com/samrussell/bird/tree/zmqintegration Cheers Sam
On 2015-07-27 21:54, Sam Russell wrote:
Hi all,
I've been working on integrating BIRD into some SDN packages (VANDERVECKEN/RouteFlow, ONOS), and as part of this I've built zeromq in as an option. It's still beta, but you can stand up BIRD and poll the ZeroMQ socket and it'll reply with a route table dump in JSON.
Keen to hear what people think
https://github.com/samrussell/bird/tree/zmqintegration
Cheers Sam
Hi Sam, thanks for it! It sounds cool :) Can you please share some example of the configuration bird.conf file with your SDN protocol? Cheers Pavel
Hi Pavel, Thanks for the feedback :) sample config is basically: sdn { } there may still need to be a line in the middle due to the old unix socket code, that would look like sdn { unixsocket "/tmp/bird.sock" } There's an old branch in that repo that dumps route updates to a unix socket, so you'd need to have something listening on that socket to make it work. In this version it shouldn't be necessary though. Once it's running you can use the included getroutes.py to query the route table via zeromq. Cheers Sam On 28 Jul 2015 19:14, <pavel.tvrdik@nic.cz> wrote:
On 2015-07-27 21:54, Sam Russell wrote:
Hi all,
I've been working on integrating BIRD into some SDN packages (VANDERVECKEN/RouteFlow, ONOS), and as part of this I've built zeromq in as an option. It's still beta, but you can stand up BIRD and poll the ZeroMQ socket and it'll reply with a route table dump in JSON.
Keen to hear what people think
https://github.com/samrussell/bird/tree/zmqintegration
Cheers Sam
Hi Sam,
thanks for it! It sounds cool :)
Can you please share some example of the configuration bird.conf file with your SDN protocol?
Cheers Pavel
participants (2)
-
pavel.tvrdik@nic.cz -
Sam Russell