[bird] dont persist routes

certbot_on_virtu
_shirenn 2021-07-10 23:58:45 +02:00
parent 24243c9acb
commit b5b61c9108
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ listen bgp address {{ bind }} port 179;
# with other routers in the network, it performs synchronization of BIRD's # with other routers in the network, it performs synchronization of BIRD's
# routing tables with the OS kernel. # routing tables with the OS kernel.
protocol kernel { protocol kernel {
persist; # persist;
scan time 60; scan time 60;
import none; import none;
export all; export all;

View File

@ -19,7 +19,7 @@ listen bgp address {{ bind }} port 179;
# with other routers in the network, it performs synchronization of BIRD's # with other routers in the network, it performs synchronization of BIRD's
# routing tables with the OS kernel. # routing tables with the OS kernel.
protocol kernel { protocol kernel {
persist; # persist;
scan time 60; scan time 60;
import none; import none;
export all; export all;
@ -39,7 +39,7 @@ protocol static {
} }
{%for bgp in bird.ipv6.bgps %} {%for bgp in bird.ipv6.bgps %}
protocol bgp zayo { protocol bgp {{ bgp.name }} {
local as {{ bgp.local_as }}; local as {{ bgp.local_as }};
{% if bgp.allow_local_as is defined %} {% if bgp.allow_local_as is defined %}
allow local as {{ bgp.allow_local_as }}; allow local as {{ bgp.allow_local_as }};