blob: a0f8dcf4062541cc10453872c46df098c0892fab [file] [log] [blame]
Hyunsun Moonc49a8642020-11-11 14:58:47 -08001# bird templates/bird.conf - {{ ansible_managed }}
2#
3# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
4# SPDX-License-Identifier: Apache-2.0
5
6router id {{ bird_conf_router_id }};
7
8{% for name, proto in bird_conf_default_protocols.items() %}
9protocol {{ name }} {
10 {{ proto | indent(2) -}}
11}
12{% endfor -%}
13
14{% for name, filter in bird_conf_filters.items() %}
15filter {{ name }} {
16 {{ filter | indent(2) -}}
17}
18{% endfor -%}
19
20{% for temp in bird_conf_templates %}
21template {{ temp.protocol }} {{ temp.name }} {
22 {{ temp.options | indent(2) -}}
23}
24{% endfor -%}
25
26{% for proto in bird_conf_protocols %}
27protocol {{ proto.protocol }} {{ proto.name }} {% if proto.template is defined %}from {{ proto.template }} {% endif -%} {
28 {{ proto.options | indent(2) -}}
29}
30{% endfor -%}