dn42-scripts/templates/bird.conf.erb

6 lines
150 B
Plaintext

<% peers.each do |peer| -%>
protocol bgp <%= peer.name %> as <%= peer.template %> {
neighbor <%= peer.tunnel_ip %> as <%= peer.as %>;
};
<% end -%>