bird_v4.j2 372 B

123456789
  1. protocol bgp {{ ix_name }}_{{ neighbor_as }}{%- if session_num > 1 %}_{{ session_num }}{%- endif %} from tpl_{{ ix_name }}_peers {
  2. neighbor {{ neighbor_ipv4 }} as {{ neighbor_as }};
  3. description "{{ ix_name }} / {{ description }}";
  4. {%- if limit_ipv4 %}
  5. {% if limit_ipv4 > 50 %}
  6. import limit {{ limit_ipv4 }};
  7. {%- endif %}
  8. {%- endif %}
  9. }