Scripts used to generate bird config in an IXP RS setup
|
|
||
|---|---|---|
| bin | ||
| bird.conf | ||
| README.md | ||
What the scripts are used for
bin/update-irr-filters.shhas to be put in a cronbin/update-check-import.shis used to do generate the stuff common to all peersbin/generate-irr-filter.shis used to generate each peer configuration
Configuration files
/usr/local/etc/bird-peers-update.conf is sourced for four variables:
PDB_API_KEYwhich will be used to query the peeringdb apiBIRD_CONF_PATHfor the base dir of bird (freebsd and linux have different ones)IXP_ASNthe ixp asn for the communitiesCOUNT_AS_CONE_ROUTES_ROOTto know where https://git.grifon.fr/alarig/count-as-cone-routes as been cloned
Override some peers configuration
If you want to add some configuration for some particular peers, you can do it like that:
root@lillix-rs2:~# cat /usr/local/etc/bird-override/bgp_208627_ALARIG_193_34_197_135.conf
bfd on;
root@lillix-rs2:~# cat /usr/local/etc/bird-override/bgp_208627_ALARIG_2001_7f8_6d__20_8627_1.conf
bfd on;