Hyunsun Moon | c49a864 | 2020-11-11 14:58:47 -0800 | [diff] [blame^] | 1 | # 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 | |
| 6 | router id {{ bird_conf_router_id }}; |
| 7 | |
| 8 | {% for name, proto in bird_conf_default_protocols.items() %} |
| 9 | protocol {{ name }} { |
| 10 | {{ proto | indent(2) -}} |
| 11 | } |
| 12 | {% endfor -%} |
| 13 | |
| 14 | {% for name, filter in bird_conf_filters.items() %} |
| 15 | filter {{ name }} { |
| 16 | {{ filter | indent(2) -}} |
| 17 | } |
| 18 | {% endfor -%} |
| 19 | |
| 20 | {% for temp in bird_conf_templates %} |
| 21 | template {{ temp.protocol }} {{ temp.name }} { |
| 22 | {{ temp.options | indent(2) -}} |
| 23 | } |
| 24 | {% endfor -%} |
| 25 | |
| 26 | {% for proto in bird_conf_protocols %} |
| 27 | protocol {{ proto.protocol }} {{ proto.name }} {% if proto.template is defined %}from {{ proto.template }} {% endif -%} { |
| 28 | {{ proto.options | indent(2) -}} |
| 29 | } |
| 30 | {% endfor -%} |