bird.conf.j2 355 B

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