From d3580376b7e3f06e37df67bcce17403161c8ecbb Mon Sep 17 00:00:00 2001 From: root Date: Sat, 8 Sep 2018 08:39:55 +0000 Subject: [PATCH] Move OSPF interfaces to separate files --- bird.conf | 13 +------------ interfaces/wg-ospf-mail | 7 +++++++ interfaces/wg-ospf-triton | 7 +++++++ 3 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 interfaces/wg-ospf-mail create mode 100644 interfaces/wg-ospf-triton diff --git a/bird.conf b/bird.conf index b454ed7..0f2e85f 100644 --- a/bird.conf +++ b/bird.conf @@ -38,19 +38,8 @@ protocol ospf { export all; 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" { - cost 10; - type pointopoint; - hello 5; retransmit 2; wait 10; dead 20; - authentication cryptographic; password "R5fg2d66hTuP"; - }; + include "/etc/bird/interfaces/*"; interface "lo" { stub; diff --git a/interfaces/wg-ospf-mail b/interfaces/wg-ospf-mail new file mode 100644 index 0000000..2df3c20 --- /dev/null +++ b/interfaces/wg-ospf-mail @@ -0,0 +1,7 @@ +interface "wg-ospf-mail" { + cost 10; + type pointopoint; + hello 5; retransmit 2; wait 10; dead 20; + authentication cryptographic; password "R5fg2d66hTuP"; +}; + diff --git a/interfaces/wg-ospf-triton b/interfaces/wg-ospf-triton new file mode 100644 index 0000000..a1057ee --- /dev/null +++ b/interfaces/wg-ospf-triton @@ -0,0 +1,7 @@ +interface "wg-ospf-triton" { + cost 10; + type pointopoint; + hello 5; retransmit 2; wait 10; dead 20; + authentication cryptographic; password "R5fg2d66hTuP"; +}; +