Browse Source

Merge "Set source IPv6 address from inventory vars"

changes/64/777164/1
Zuul 1 year ago committed by Gerrit Code Review
parent
commit
18c4e0d019
  1. 1
      tripleo_ansible/roles/tripleo_frr/defaults/main.yml
  2. 6
      tripleo_ansible/roles/tripleo_frr/templates/frr.conf.j2

1
tripleo_ansible/roles/tripleo_frr/defaults/main.yml

@ -26,6 +26,7 @@ tripleo_frr_bgp_ipv4_allowas_in: false
tripleo_frr_bgp_ipv4_src_network: ctlplane
tripleo_frr_bgp_ipv6: true
tripleo_frr_bgp_ipv6_allowas_in: false
tripleo_frr_bgp_ipv6_src_network: ctlplane
tripleo_frr_bgp_neighbor_ttl_security_hops: 1
tripleo_frr_bgp_uplinks_scope: internal
tripleo_frr_config_basedir: "/var/lib/config-data/ansible-generated/frr"

6
tripleo_ansible/roles/tripleo_frr/templates/frr.conf.j2

@ -57,4 +57,10 @@ ip protocol bgp route-map rm-only-default
{% if tripleo_frr_bgp_ipv6 %}
ipv6 prefix-list only-default permit ::/0
ipv6 prefix-list only-host-prefixes permit ::/0 ge 128
route-map rm-only-default permit 11
match ipv6 address prefix-list only-default
set src {{ hostvars[inventory_hostname][tripleo_frr_bgp_ipv6_src_network ~ '_ip'] }}
ipv6 protocol bgp route-map rm-only-default
{% endif %}

Loading…
Cancel
Save