Move OSPF interfaces to separate files

This commit is contained in:
root 2018-09-08 08:39:55 +00:00
parent b52a90d7bd
commit d3580376b7
3 changed files with 15 additions and 12 deletions

View file

@ -38,19 +38,8 @@ protocol ospf {
export all; export all;
area 0 { area 0 {
interface "wg-ospf-triton" {
cost 10;
type pointopoint;
hello 5; retransmit 2; wait 10; dead 20;
authentication cryptographic; password "R5fg2d66hTuP";
};
interface "wg-ospf-mail" { include "/etc/bird/interfaces/*";
cost 10;
type pointopoint;
hello 5; retransmit 2; wait 10; dead 20;
authentication cryptographic; password "R5fg2d66hTuP";
};
interface "lo" { interface "lo" {
stub; stub;

7
interfaces/wg-ospf-mail Normal file
View file

@ -0,0 +1,7 @@
interface "wg-ospf-mail" {
cost 10;
type pointopoint;
hello 5; retransmit 2; wait 10; dead 20;
authentication cryptographic; password "R5fg2d66hTuP";
};

View file

@ -0,0 +1,7 @@
interface "wg-ospf-triton" {
cost 10;
type pointopoint;
hello 5; retransmit 2; wait 10; dead 20;
authentication cryptographic; password "R5fg2d66hTuP";
};