Hyunsun Moon | c49a864 | 2020-11-11 14:58:47 -0800 | [diff] [blame^] | 1 | --- |
| 2 | # bird defaults/main.yml |
| 3 | # |
| 4 | # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| 5 | # SPDX-License-Identifier: Apache-2.0 |
| 6 | |
| 7 | # Upstream docs: |
| 8 | # https://bird.network.cz/?get_doc&v=20&f=bird-6.html |
| 9 | |
| 10 | bird_conf_router_id: "{{ ansible_default_ipv4['address'] }}" |
| 11 | |
| 12 | # The preferred source address for outgoing packets |
| 13 | # Has to be one of the IP addresses of the router |
| 14 | bird_conf_krt_prefsrc: "{{ ansible_default_ipv4['address'] }}" |
| 15 | |
| 16 | # Define default protocols that enable synchronization of routings with OS kernel |
| 17 | # scan for new network interfaces every 10 seconds, |
| 18 | # and automatically generate device routes to all network interfaces. |
| 19 | bird_conf_default_protocols: |
| 20 | kernel: "{{ bird_conf_protocol_kernel }}" |
| 21 | device: "{{ bird_conf_protocol_device }}" |
| 22 | direct: "{{ bird_conf_protocol_direct }}" |
| 23 | static: "{{ bird_conf_protocol_static }}" |
| 24 | |
| 25 | bird_conf_protocol_device: | |
| 26 | scan time 10; |
| 27 | |
| 28 | bird_conf_protocol_direct: | |
| 29 | interface "*"; |
| 30 | |
| 31 | bird_conf_protocol_kernel: | |
| 32 | learn; |
| 33 | merge paths on; |
| 34 | export filter { |
| 35 | krt_prefsrc = {{ bird_conf_krt_prefsrc }}; |
| 36 | accept; |
| 37 | }; |
| 38 | import all; |
| 39 | |
| 40 | bird_conf_protocol_static: "" |
| 41 | |
| 42 | # Define a list of route filters |
| 43 | # See README.md for the examples |
| 44 | bird_conf_filters: {} |
| 45 | |
| 46 | # Define a list of templates |
| 47 | # See README.md for the examples |
| 48 | bird_conf_templates: [] |
| 49 | |
| 50 | # Define a list of protocols |
| 51 | # See README.md for the examples |
| 52 | bird_conf_protocols: [] |