summaryrefslogtreecommitdiff
path: root/roles/uvok_bird/files
diff options
context:
space:
mode:
Diffstat (limited to 'roles/uvok_bird/files')
-rw-r--r--roles/uvok_bird/files/common.conf14
-rw-r--r--roles/uvok_bird/files/logging.conf11
2 files changed, 25 insertions, 0 deletions
diff --git a/roles/uvok_bird/files/common.conf b/roles/uvok_bird/files/common.conf
new file mode 100644
index 0000000..61917bd
--- /dev/null
+++ b/roles/uvok_bird/files/common.conf
@@ -0,0 +1,14 @@
+# managed by Ansible
+
+function honor_graceful_shutdown() {
+ if (65535, 0) ~ bgp_community then {
+ bgp_local_pref = 0;
+ }
+}
+
+# The Device protocol is not a real routing protocol. It does not generate any
+# routes and it only serves as a module for getting information about network
+# interfaces from the kernel. It is necessary in almost any configuration.
+protocol device {
+ scan time 10;
+}
diff --git a/roles/uvok_bird/files/logging.conf b/roles/uvok_bird/files/logging.conf
new file mode 100644
index 0000000..bd9e6e8
--- /dev/null
+++ b/roles/uvok_bird/files/logging.conf
@@ -0,0 +1,11 @@
+# managed by Ansible
+
+# log syslog { info, remote, warning, error, auth, fatal, bug };
+log syslog { warning, error, fatal, bug };
+log "/var/log/bird/remote.log" { remote };
+log "/var/log/bird/bugs.log" { bug };
+log "/var/log/bird/trace.log" { trace };
+log "/var/log/bird/debug.log" { debug };
+log "/var/log/bird/info.log" { info };
+
+timeformat protocol iso long;