bird_ospf_interfaces_down_ok.txt.tmpl 293 B

123456789
  1. #
  2. # Interfaces which are OK to be down in OSPF (Salt managed)
  3. #
  4. {%- set interfaces = salt['pillar.get']('nodes:' ~ grains['id'] ~ ':ifaces', {}) %}
  5. {%- for iface, config in interfaces.items ()|sort %}
  6. {%- if config.get ('_state', '') == 'planned' %}
  7. {{ iface }}
  8. {%- endif %}
  9. {%- endfor %}