blob: 5d0a045546e57a0d463c43acd11e0367cc634de2 [file] [log] [blame]
Hyunsun Moonc49a8642020-11-11 14:58:47 -08001---
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
10bird_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
14bird_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.
19bird_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
25bird_conf_protocol_device: |
26 scan time 10;
27
28bird_conf_protocol_direct: |
29 interface "*";
30
31bird_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
40bird_conf_protocol_static: ""
41
42# Define a list of route filters
43# See README.md for the examples
44bird_conf_filters: {}
45
46# Define a list of templates
47# See README.md for the examples
48bird_conf_templates: []
49
50# Define a list of protocols
51# See README.md for the examples
52bird_conf_protocols: []