summaryrefslogtreecommitdiff
path: root/roles/uvok_bird/files/common.conf
diff options
context:
space:
mode:
Diffstat (limited to 'roles/uvok_bird/files/common.conf')
-rw-r--r--roles/uvok_bird/files/common.conf14
1 files changed, 14 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;
+}