Python 2.7 based script for announce and withdraw routes with Exabgp from file. New route announce (withdraw) when file (net.txt) changed
RUN
/usr/local/bin/exabgp /home/bgp/exabgp.conf -f /home/bgp/ -e /home/bgp/exabgp.env
INSTALL README
- sudo apt install python-minimal python-pip
- sudo locale-gen "ru_RU.UTF-8"
- sudo dpkg-reconfigure locales
- git clone https://github.com/Exa-Networks/exabgp.git
- git checkout 3.4.13
- python2.7 ./setup.py build
- sudo python2.7 ./setup.py install
- git clone bgp-announcement
- su bgp
- pip install netaddr
- exabgp -f /home/bgp/bgp-announcement -e /home/bgp/bgp-announcement/exabgp.env /home/bgp/bgp-announcement/exabgp.conf