bird.conf.j2 388 B

12345678910111213
  1. #
  2. # This file is managed by ansible. Do not edit by hand!
  3. #
  4. {% for host in hostvars %}
  5. {% if hostvars[host]['ansible_fqdn'] != ansible_fqdn %}
  6. protocol bgp {{hostvars[host]['ansible_hostname']}} from ibgp {
  7. source address {{mesh_ipv4|ipaddr('address')}};
  8. neighbor {{hostvars[host]['mesh_ipv4']}} as {{supernode_as}};
  9. default bgp_med 4;
  10. };
  11. {% endif %}
  12. {% endfor %}