Update bird/bird.conf.tmpl
This commit is contained in:
parent
9d2cb2682d
commit
e3b386606e
@ -10,7 +10,6 @@ protocol direct {
|
|||||||
|
|
||||||
# Define a template to use when connecting to other BGP clients on the EE network
|
# Define a template to use when connecting to other BGP clients on the EE network
|
||||||
template bgp lixonet_client {
|
template bgp lixonet_client {
|
||||||
description "Lixonet BGP uplink for ${address} (ASN: {$asn})";
|
|
||||||
local as ${asn};
|
local as ${asn};
|
||||||
source address ${address}; # What local address we use for the TCP connection
|
source address ${address}; # What local address we use for the TCP connection
|
||||||
path metric 1; # Prefer routes with shorter paths (like Cisco does)
|
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}" }}
|
{{ range files "bird/neighbors" }} {{ if ne . "${name}" }}
|
||||||
protocol bgp {{ . }} from lixonet_client {
|
protocol bgp {{ . }} from lixonet_client {
|
||||||
|
description "Lixonet BGP link from ${address} (ASN: {$asn}) to {{ . }}";
|
||||||
{{ file (print "bird/neighbors/" .) }}
|
{{ file (print "bird/neighbors/" .) }}
|
||||||
}; {{ end }} {{ end }}
|
}; {{ end }} {{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user