diff --git a/roles/service-bird/templates/bird.conf.j2 b/roles/service-bird/templates/bird.conf.j2 index ee231a1..3991bcb 100644 --- a/roles/service-bird/templates/bird.conf.j2 +++ b/roles/service-bird/templates/bird.conf.j2 @@ -68,9 +68,11 @@ template bgp ibgp_mwu { # Include IPv4 MWU peers include "mwu_ipv4_peers.con?"; +{% if ffmwu_server_type == "gateway" %} # Include IPv4 ICVPN configuration include "icvpn_ipv4.con?"; # Include IPv4 FFRL configuration include "ffrl_ipv4.con?"; +{% endif %} diff --git a/roles/service-bird/templates/bird6.conf.j2 b/roles/service-bird/templates/bird6.conf.j2 index 650c0ce..19d7aba 100644 --- a/roles/service-bird/templates/bird6.conf.j2 +++ b/roles/service-bird/templates/bird6.conf.j2 @@ -57,9 +57,11 @@ template bgp ibgp_mwu { # Include IPv6 MWU peers include "mwu_ipv6_peers.con?"; +{% if ffmwu_server_type == "gateway" %} # Include IPv6 ICVPN configuration include "icvpn_ipv6.con?"; # Include IPv6 FFRL configuration include "ffrl_ipv6.con?"; +{% endif %}