AETHER-918 Initial commit of BIRD role
Change-Id: I00d3d893c2c571bb69aac3580f27e26afa0313fb
diff --git a/defaults/main.yml b/defaults/main.yml
new file mode 100644
index 0000000..5d0a045
--- /dev/null
+++ b/defaults/main.yml
@@ -0,0 +1,52 @@
+---
+# 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: []