ibgp_sessions_down_ok.txt.tmpl 307 B

12345678
  1. #
  2. # BGP sessions which are OK to be down (Salt managed)
  3. #
  4. {%- for peer in salt['pillar.get']('node:routing:bgp:internal:peers:down_OK') %}
  5. {#- save peers node name, mangle . and - to _ to make bird happy #}
  6. {%- set peer_name = salt['ffho.re_replace']('[.-]', '_', peer) %}
  7. {{ peer_name }}
  8. {%- endfor %}