mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 02:01:55 +00:00
28 lines
445 B
Plaintext
28 lines
445 B
Plaintext
|
log "{{ m.logs[0].name }}" all;
|
||
|
|
||
|
ipv4 table master4;
|
||
|
ipv4 table master5;
|
||
|
ipv6 table master6;
|
||
|
|
||
|
protocol device {}
|
||
|
|
||
|
{% for v in (4,6) %}
|
||
|
protocol kernel kernel{{ v }} {
|
||
|
ipv{{v}} { table master{{v}}; export all; };
|
||
|
}
|
||
|
|
||
|
protocol ospf v{{(v//2)}} ospf{{v}} {
|
||
|
ipv{{v}} { table master{{v}}; import all; export all; };
|
||
|
area 0 {
|
||
|
interface "ve*" {
|
||
|
hello 2;
|
||
|
type ptp;
|
||
|
};
|
||
|
interface "multi" {
|
||
|
hello 2;
|
||
|
type bcast;
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
{% endfor %}
|