2024-10-17 15:23:53 +02:00
|
|
|
# What the scripts are used for
|
2024-10-17 15:31:58 +02:00
|
|
|
* `bin/update-irr-filters.sh` has to be put in a cron
|
|
|
|
* `bin/update-check-import.sh` is used to do generate the stuff common to
|
|
|
|
all peers
|
|
|
|
* `bin/generate-irr-filter.sh` is used to generate each peer configuration
|
2024-10-17 15:23:53 +02:00
|
|
|
|
|
|
|
# Configuration files
|
|
|
|
`/usr/local/etc/bird-peers-update.conf` is sourced for three variables:
|
|
|
|
* `PDB_API_KEY` which will be used to query the peeringdb api
|
2024-10-17 15:25:24 +02:00
|
|
|
* `BIRD_CONF_PATH` for the base dir of bird (freebsd and linux have
|
|
|
|
different ones)
|
2024-10-17 15:23:53 +02:00
|
|
|
* `IXP_ASN` the ixp asn for the communities
|
|
|
|
|
|
|
|
# Override some peers configuration
|
2024-10-17 15:25:24 +02:00
|
|
|
If you want to add some configuration for some particular peers, you can do it
|
|
|
|
like that:
|
2024-10-17 15:23:53 +02:00
|
|
|
```
|
|
|
|
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;
|
|
|
|
```
|