Files

22 lines
386 B
Django/Jinja

{% if enable_rpki %}
{% if enable_ipv4 %}
roa4 table t_roa4;
{% endif %}
roa6 table t_roa6;
{% for afi in afis %}
{% if afi == 4 and enable_ipv4 or afi == 6 %}
protocol rpki {
roa{{ afi }} {
table t_roa{{ afi }};
};
remote "{{ rpki.bird_rpki_remote_hostname }}" port {{ rpki.bird_rpki_remote_port }};
}
{% endif %}
{% endfor %}
{% else %}
# rpki is not enabled
{% endif %}