bird.conf.j2 300 B

1234567891011121314
  1. #
  2. # This file is managed by ansible. Do not edit by hand!
  3. #
  4. {% if peers is defined %}
  5. {% for peer in peers %}
  6. protocol bgp {{peer.name}} from ibgp {
  7. source address {{peer.source_ip4}};
  8. neighbor {{peer.peer_ip4}} as {{peer.as}};
  9. default bgp_med 2;
  10. };
  11. {% endfor %}
  12. {% endif %}