diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2 index 2db1c20dc2..ae5877cfae 100644 --- a/ansible/roles/neutron/templates/neutron.conf.j2 +++ b/ansible/roles/neutron/templates/neutron.conf.j2 @@ -61,6 +61,11 @@ router_distributed = True {% if enable_designate | bool %} dns_domain = {{ designate_ns_record }}. external_dns_driver = designate +{% if neutron_plugin_agent == 'vmware_nsxv' %} +nsx_extension_drivers = vmware_nsxv_dns +{% elif neutron_plugin_agent == 'vmware_dvs' %} +nsx_extension_drivers = vmware_dvs_dns +{% endif %} {% endif %} [nova]