diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-06-13 19:59:55 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-06-13 19:59:55 +0200 |
commit | 8ba9372b772eb488cdfe7fac0e7919c1ae4e965e (patch) | |
tree | 06dfb3c31787d367d60f3c3992b0fdaf9d1b9917 /tnet/templates | |
parent | b49b58d2749d50a42b25d39a744b0edc8d24bf77 (diff) | |
download | infra-8ba9372b772eb488cdfe7fac0e7919c1ae4e965e.tar.gz infra-8ba9372b772eb488cdfe7fac0e7919c1ae4e965e.tar.bz2 infra-8ba9372b772eb488cdfe7fac0e7919c1ae4e965e.tar.xz infra-8ba9372b772eb488cdfe7fac0e7919c1ae4e965e.zip |
tnet
Diffstat (limited to 'tnet/templates')
-rw-r--r-- | tnet/templates/bird.conf.j2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tnet/templates/bird.conf.j2 b/tnet/templates/bird.conf.j2 index 45dc318..57e557a 100644 --- a/tnet/templates/bird.conf.j2 +++ b/tnet/templates/bird.conf.j2 @@ -3,7 +3,6 @@ template bgp tnet_tpl { neighbor internal; direct; - rr client; password "trygvis"; @@ -32,5 +31,9 @@ template bgp tnet_tpl { protocol bgp tnet_{{ p }} from tnet_tpl { neighbor {{ hostvars[p].tnet_wg[inventory_hostname].address }}; interface "tnet-{{ p }}"; +{% if tnet_bird_peers[p].rr_client|default(False) %} + + rr client; +{% endif %} } {% endfor %} |