Merge "Allow BFD timeouts to be customized"

This commit is contained in:
Zuul 2021-08-16 10:35:36 +00:00 committed by Gerrit Code Review
commit f1d6d84f67
2 changed files with 19 additions and 0 deletions

View File

@ -20,6 +20,16 @@
# All variables within this role should have a prefix of "tripleo_frr"
tripleo_frr_bfd: false
# Configures the detection multiplier to determine packet loss.
# The remote transmission interval will be multiplied by this
# value to determine the connection loss detection timer.
tripleo_frr_bfd_detect_multiplier: 3
# The minimum transmission interval (less jitter) that this
# system wants to use to send BFD control packets. (milliseconds)
tripleo_frr_bfd_transmit_interval: 300
# Configures the minimum interval that this system is capable of
# receiving control packets. (milliseconds)
tripleo_frr_bfd_receive_interval: 300
tripleo_frr_bgp: false
tripleo_frr_bgp_ipv4: true
tripleo_frr_bgp_ipv4_allowas_in: false

View File

@ -20,6 +20,7 @@ router bgp {{ tripleo_frr_bgp_asn }}
! neighbor uplink capability extended-nexthop
{% if tripleo_frr_bfd %}
neighbor uplink bfd
neighbor uplink bfd profile tripleo
{% endif %}
{% for iface in tripleo_frr_bgp_uplinks_mapped %}
neighbor {{ iface }} interface peer-group uplink
@ -96,3 +97,11 @@ ipv6 protocol bgp route-map rm-only-default
{% if tripleo_frr_zebra_nht_resolve_via_default %}
ip nht resolve-via-default
{% endif %}
{% if tripleo_frr_bfd %}
bfd
profile tripleo
detect-multiplier {{ tripleo_frr_bfd_detect_multiplier }}
transmit-interval {{ tripleo_frr_bfd_transmit_interval }}
receive-interval {{ tripleo_frr_bfd_receive_interval }}
{% endif %}