How to control ExaBGP from external tool?

Please setup ExaBGP and Quagga before this manual.

Let’s create fake process which work as proxy for relying data from Linux PIPE to ExaBGP:

With this contents:

Set exec flag:

And add following (process service-dynamic ….) to ExaBGP config: /etc/exabgp_blackhole.conf

And run ExaBGP!

After this we could see multiple processes in process list:

We are ready!

Let’s add announce:

If you want to disable it please use this syntax:

After announce route we could see on Quagga side new prefix: