mesh_routes.conf 451 B

12345678910111213141516
  1. #
  2. # Learn mesh prefixes (Salt managed)
  3. #
  4. {% for site in salt['pillar.get']('node:sites', []) %}
  5. protocol direct mesh_{{ salt['ffho.re_replace']('-', '_', site) }} {
  6. interface "br-{{ site }}";
  7. check link yes;
  8. import all;
  9. # TODO Add filter to enable/disable import of prefix per site
  10. # according to gateway status (announced / not announced) to
  11. # prevent prefix from beein announced when mesh is broken or
  12. # something like this.
  13. }
  14. {% endfor %}