From ece44de7829aadc4952a00de41aa5b27d914df3b Mon Sep 17 00:00:00 2001 From: Nate Sales Date: Mon, 2 Nov 2020 16:43:06 -0800 Subject: [PATCH] add manual config option --- README.md | 3 +++ templates/global.tmpl | 1 + 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index c7a5c7f2..f935454d 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,9 @@ There are many features of BIRD that aren't part of bcg. If you want to add a st #### iBGP Next hop self will be enabled on BGP sessions where the neighbor ASN and local ASN are the same (iBGP sessions). +#### Manual configuration +If bcg doesn't have a feature you need (and you can't use pre-import/pre-export conditions) then you can supply pure BIRD config in `/etc/bird/manual*.conf` and bcg will load the config before the peers defined in the bcg config file. + #### BGP Communities bcg uses RFC 8092 BGP Large Communities diff --git a/templates/global.tmpl b/templates/global.tmpl index 61d48f26..6aeed1ae 100644 --- a/templates/global.tmpl +++ b/templates/global.tmpl @@ -265,4 +265,5 @@ function reject_bogons() { # ---- Peers ---- +include "manual*.conf"; include "AS*.conf";