Update bird/bird.conf.tmpl

This commit is contained in:
sump pump 2020-04-28 05:15:14 +00:00
parent 9d2cb2682d
commit e3b386606e

View File

@ -10,7 +10,6 @@ protocol direct {
# Define a template to use when connecting to other BGP clients on the EE network
template bgp lixonet_client {
description "Lixonet BGP uplink for ${address} (ASN: {$asn})";
local as ${asn};
source address ${address}; # What local address we use for the TCP connection
path metric 1; # Prefer routes with shorter paths (like Cisco does)
@ -25,5 +24,6 @@ template bgp lixonet_client {
{{ range files "bird/neighbors" }} {{ if ne . "${name}" }}
protocol bgp {{ . }} from lixonet_client {
description "Lixonet BGP link from ${address} (ASN: {$asn}) to {{ . }}";
{{ file (print "bird/neighbors/" .) }}
}; {{ end }} {{ end }}