bird6.conf: export bgp into ospf

This commit is contained in:
Astro 2017-10-03 16:44:27 +02:00
parent d3b6c07f07
commit 372a0effd0
1 changed files with 10 additions and 1 deletions

View File

@ -43,6 +43,15 @@ protocol radv {
{%- endif %}
protocol ospf ZW6 {
{%- if pillar.get('bgp') %}
export filter {
if source = RTS_BGP then {
ospf_metric1 = 100;
accept;
}
reject;
};
{%- endif %}
area 0 {
networks {
fd23:42:c3d2:500::/56;
@ -77,4 +86,4 @@ protocol bgp {
{%- endfor %}
export where source=RTS_STATIC;
}
{%- endif %}
{%- endif %}