bird_ibgp_sessions_down_ok.txt.tmpl 298 B

123456789
  1. #
  2. # Sessions which are OK to be down in iBGP (Salt managed)
  3. #
  4. {%- set nodes = salt['pillar.get']('nodes', {}) %}
  5. {%- for node, node_config in nodes.items ()|sort %}
  6. {%- if node_config.get ('status', '') != "active" %}
  7. {{ salt['ffho.re_replace']('[.-]', '_', node) }}
  8. {%- endif %}
  9. {%- endfor %}