Merge "Respect defined neutron_dnsmasq_dns_servers for OVN"

This commit is contained in:
Zuul 2025-02-15 12:18:30 +00:00 committed by Gerrit Code Review
commit cbdabfdad6
2 changed files with 3 additions and 0 deletions

View File

@ -460,6 +460,7 @@ neutron_l3_agent_extensions: "{{ _neutron_l3_agent_extensions }}"
###
# Comma-separated list of DNS servers which will be used by dnsmasq as forwarders.
# This variable will be used for the same purpose for OVN, when dnsmasq is not used.
neutron_dnsmasq_dns_servers: ""
# Limit number of leases to prevent a denial-of-service.

View File

@ -49,6 +49,8 @@ ovn_sb_connection = {{ neutron_ovn_sb_connection }}
ovn_l3_scheduler = {{ neutron_ovn_l3_scheduler }}
enable_distributed_floating_ip = {{ neutron_ovn_distributed_fip }}
ovn_metadata_enabled = True
dns_servers = {{ neutron_dnsmasq_dns_servers }}
dhcp_default_lease_time = {{ neutron_dnsmasq_lease_max }}
{% endif %}
{% if neutron_ovn_ssl and (neutron_services['neutron-server']['group'] in group_names or neutron_services['neutron-ovn-controller']['group'] in group_names) %}
ovn_sb_ca_cert={{ [neutron_conf_version_dir, neutron_ovn_ssl_ca_cert] | join('/') }}