| --- |
| # bird defaults/main.yml |
| # |
| # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| # Upstream docs: |
| # https://bird.network.cz/?get_doc&v=20&f=bird-6.html |
| |
| bird_conf_router_id: "{{ ansible_default_ipv4['address'] }}" |
| |
| # The preferred source address for outgoing packets |
| # Has to be one of the IP addresses of the router |
| bird_conf_krt_prefsrc: "{{ ansible_default_ipv4['address'] }}" |
| |
| # Define default protocols that enable synchronization of routings with OS kernel |
| # scan for new network interfaces every 10 seconds, |
| # and automatically generate device routes to all network interfaces. |
| bird_conf_default_protocols: |
| kernel: "{{ bird_conf_protocol_kernel }}" |
| device: "{{ bird_conf_protocol_device }}" |
| direct: "{{ bird_conf_protocol_direct }}" |
| static: "{{ bird_conf_protocol_static }}" |
| |
| bird_conf_protocol_device: | |
| scan time 10; |
| |
| bird_conf_protocol_direct: | |
| interface "*"; |
| |
| bird_conf_protocol_kernel: | |
| learn; |
| merge paths on; |
| export filter { |
| krt_prefsrc = {{ bird_conf_krt_prefsrc }}; |
| accept; |
| }; |
| import all; |
| |
| bird_conf_protocol_static: "" |
| |
| # Define a list of route filters |
| # See README.md for the examples |
| bird_conf_filters: {} |
| |
| # Define a list of templates |
| # See README.md for the examples |
| bird_conf_templates: [] |
| |
| # Define a list of protocols |
| # See README.md for the examples |
| bird_conf_protocols: [] |