Update bird/bird.conf.tmpl

This commit is contained in:
sump pump 2020-05-21 00:09:31 +00:00
parent ebc1c39c85
commit 208e870b53

View File

@ -14,6 +14,12 @@ log stderr all; # Using docker; defer logging to stderr (to Docker logs)
debug protocols all; # Enable debugging (this should be switched off in prod) debug protocols all; # Enable debugging (this should be switched off in prod)
router id ${address}; router id ${address};
# Static routes
# Define propagated routes here from the lixonet.conf "routes" variable
protocl static {
{{ if len "${routes:-}" }}{{ range "$routes" | split "," }}route {{.}} unreachable;{{ end }}{{ end }}
}
# Device # Device
# See: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.4 # See: https://bird.network.cz/?get_doc&v=20&f=bird-6.html#ss6.4
# This controls which interfaces BGP, etc. will bind to for communication # This controls which interfaces BGP, etc. will bind to for communication