forked from zentralwerk/network
bird6.conf: export bgp into ospf
This commit is contained in:
parent
d3b6c07f07
commit
372a0effd0
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue