GEANT / FOD

Firewall on Demand
GNU General Public License v3.0
0 stars 4 forks source link

remote exabgp instances #24

Open anna-wilson opened 1 year ago

anna-wilson commented 1 year ago

Support for remote instances of exabgp, either in containers or remote servers.

Flowspy now has an additional view, which provides a section of the exabgp.conf file containing the currently active rules. This is not for user consumption.

The applier task for remote_exabgp is very short, and only makes a HTTP call to the servers/containers running exabgp, as configured in the environment variable FOD_EXABGP_NOTIFY. It does not assemble any new config itself.

The exabgp server/container needs to have a small flask app running on the same host, which is provided here in the exabgp1 container. When triggered by the applier, this consumes the new view, assembles the new exabgp config, and restarts exabgp.