bird.conf.j2 330 B

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