role service-bird: remove unnecessary includes for non-gateway hosts

This commit is contained in:
Julian Labus 2018-10-04 19:30:37 +02:00
parent ed244ad827
commit 98c29c3f93
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A
2 changed files with 4 additions and 0 deletions

View file

@ -68,9 +68,11 @@ template bgp ibgp_mwu {
# Include IPv4 MWU peers # Include IPv4 MWU peers
include "mwu_ipv4_peers.con?"; include "mwu_ipv4_peers.con?";
{% if ffmwu_server_type == "gateway" %}
# Include IPv4 ICVPN configuration # Include IPv4 ICVPN configuration
include "icvpn_ipv4.con?"; include "icvpn_ipv4.con?";
# Include IPv4 FFRL configuration # Include IPv4 FFRL configuration
include "ffrl_ipv4.con?"; include "ffrl_ipv4.con?";
{% endif %}

View file

@ -57,9 +57,11 @@ template bgp ibgp_mwu {
# Include IPv6 MWU peers # Include IPv6 MWU peers
include "mwu_ipv6_peers.con?"; include "mwu_ipv6_peers.con?";
{% if ffmwu_server_type == "gateway" %}
# Include IPv6 ICVPN configuration # Include IPv6 ICVPN configuration
include "icvpn_ipv6.con?"; include "icvpn_ipv6.con?";
# Include IPv6 FFRL configuration # Include IPv6 FFRL configuration
include "ffrl_ipv6.con?"; include "ffrl_ipv6.con?";
{% endif %}