diff options
author | uvok cheetah | 2024-04-21 15:50:35 +0200 |
---|---|---|
committer | uvok cheetah | 2024-04-21 15:50:35 +0200 |
commit | 2b9a71e8ecb41cc8e9b73735837f07c9b1351ff7 (patch) | |
tree | 84ff56a440e31ce33bb8ea214ab79391660a4b44 /roles/uvok_bird/files | |
parent | 293ddf3a4bf78d72fea4b8196e3bbc2d81b3f12e (diff) |
Changed to bird tole
- rename prefixes to clear_prefixes
- add router id
- add config files
- add handler "change"
Diffstat (limited to 'roles/uvok_bird/files')
-rw-r--r-- | roles/uvok_bird/files/common.conf | 14 | ||||
-rw-r--r-- | roles/uvok_bird/files/logging.conf | 11 |
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; |