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