README formating
Signed-off-by: Alarig Le Lay <alelay@scaleway.com>
This commit is contained in:
parent
4ae6407239
commit
63123b3d66
14
README.md
14
README.md
|
@ -1,16 +1,20 @@
|
||||||
# What the scripts are used for
|
# What the scripts are used for
|
||||||
`/usr/local/sbin/update-irr-filters.sh` Has to be put in a cron
|
* `/usr/local/sbin/update-irr-filters.sh` has to be put in a cron
|
||||||
`/usr/local/sbin/update-check-import.sh` Is used to do generate the stuff common to all peers
|
* `/usr/local/sbin/update-check-import.sh` is used to do generate the stuff
|
||||||
`/usr/local/sbin/generate-irr-filter.sh` Is used to generate each peer configuration
|
common to all peers
|
||||||
|
* `/usr/local/sbin/generate-irr-filter.sh` is used to generate each peer
|
||||||
|
configuration
|
||||||
|
|
||||||
# Configuration files
|
# Configuration files
|
||||||
`/usr/local/etc/bird-peers-update.conf` is sourced for three variables:
|
`/usr/local/etc/bird-peers-update.conf` is sourced for three variables:
|
||||||
* `PDB_API_KEY` which will be used to query the peeringdb api
|
* `PDB_API_KEY` which will be used to query the peeringdb api
|
||||||
* `BIRD_CONF_PATH` for the base dir of bird (freebsd and linux have different ones)
|
* `BIRD_CONF_PATH` for the base dir of bird (freebsd and linux have
|
||||||
|
different ones)
|
||||||
* `IXP_ASN` the ixp asn for the communities
|
* `IXP_ASN` the ixp asn for the communities
|
||||||
|
|
||||||
# Override some peers configuration
|
# Override some peers configuration
|
||||||
If you want to add some configuration for some particular peers, you can do it like that:
|
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
|
root@lillix-rs2:~# cat /usr/local/etc/bird-override/bgp_208627_ALARIG_193_34_197_135.conf
|
||||||
bfd on;
|
bfd on;
|
||||||
|
|
Loading…
Reference in a new issue