Rename neutron_dhcp_domain to neutron_dns_domain

The dhcp_domain option has been marked for deprecation since Liberty and
was removed in Ocata [1]. Its replacement, dns_domain, should be used
instead.

[1] https://review.openstack.org/#/c/406243/

Change-Id: Ie46ccba05e02e1ec51dd0d61ab6d9d028b32b400
This commit is contained in:
Jimmy McCrory 2017-02-16 11:57:28 -08:00
parent fc90cd8833
commit d9cc60b9ce
4 changed files with 8 additions and 4 deletions

View File

@ -529,7 +529,7 @@ neutron_vxlan_enabled: true
neutron_sriov_excluded_devices: ""
neutron_dhcp_domain: openstacklocal
neutron_dns_domain: openstacklocal
# Comma-separated list of DNS servers which will be used by dnsmasq as forwarders.
neutron_dnsmasq_dns_servers: ""
# Limit number of leases to prevent a denial-of-service.

View File

@ -0,0 +1,4 @@
---
upgrade:
- The variable ``neutron_dhcp_domain`` has been renamed to
``neutron_dns_domain``.

View File

@ -13,9 +13,6 @@ num_sync_threads = {{ neutron_num_sync_threads | default(api_threads) }}
interface_driver = {{ neutron_plugins[neutron_plugin_type].driver_interface }}
dhcp_driver = {{ neutron_driver_dhcp }}
# Default domain for DHCP leases
dhcp_domain = {{ neutron_dhcp_domain }}
# Dnsmasq options
dnsmasq_config_file = {{ neutron_conf_dir }}/dnsmasq-neutron.conf
dnsmasq_dns_servers = {{ neutron_dnsmasq_dns_servers }}

View File

@ -16,6 +16,9 @@ executor_thread_pool_size = {{ neutron_rpc_thread_pool_size }}
rpc_response_timeout = {{ neutron_rpc_response_timeout }}
transport_url = rabbit://{% for host in neutron_rabbitmq_servers.split(',') %}{{ neutron_rabbitmq_userid }}:{{ neutron_rabbitmq_password }}@{{ host }}:{{ neutron_rabbitmq_port }}{% if not loop.last %},{% else %}/{{ neutron_rabbitmq_vhost }}{% endif %}{% endfor %}
# Domain to use for building hostnames
dns_domain = {{ neutron_dns_domain }}
{% if neutron_services['neutron-server']['group'] in group_names %}
# General, only applies to neutron server host group