Add [designate] section in neutron.conf
If neutron_designate_enabled variable is true, this will enable the [designate] section and all needed configuration. Change-Id: I82469a1de6a7ebce8ca2f568c1bb8125bbc57965 Closes-Bug: 1687594
This commit is contained in:
parent
c4eb683c55
commit
54d75036f4
|
@ -232,6 +232,9 @@ neutron_rabbitmq_telemetry_use_ssl: "{{ neutron_rabbitmq_use_ssl }}"
|
|||
###
|
||||
|
||||
neutron_designate_enabled: False
|
||||
neutron_allow_reverse_dns_lookup: True
|
||||
neutron_ipv4_ptr_zone_prefix_size: 24
|
||||
neutron_ipv6_ptr_zone_prefix_size: 116
|
||||
|
||||
# Notifications topic for designate
|
||||
neutron_notifications_designate: notifications_designate
|
||||
|
|
|
@ -98,11 +98,41 @@ dhcp_agents_per_network = {{ dhcp_agents_max }}
|
|||
dhcp_lease_duration = 86400
|
||||
{% endif %}
|
||||
|
||||
# Driver for external DNS integration. (string value)
|
||||
{% if neutron_designate_enabled %}
|
||||
external_dns_driver = designate
|
||||
{% else %}
|
||||
#external_dns_driver = <None>
|
||||
{% endif %}
|
||||
|
||||
# Nova notifications
|
||||
notify_nova_on_port_status_changes = True
|
||||
notify_nova_on_port_data_changes = True
|
||||
send_events_interval = 2
|
||||
|
||||
# End of [DEFAULT] section
|
||||
{% if neutron_designate_enabled %}
|
||||
|
||||
[designate]
|
||||
|
||||
# required by current dns integration implementation
|
||||
url = {{ designate_service_adminurl }}
|
||||
|
||||
auth_type = {{ designate_keystone_auth_plugin }}
|
||||
auth_uri = {{ keystone_service_adminuri }}
|
||||
auth_url = {{ keystone_service_adminurl }}
|
||||
region_name = {{ designate_service_region }}
|
||||
project_domain_id = {{ designate_service_project_domain_id }}
|
||||
user_domain_id = {{ designate_service_user_domain_id }}
|
||||
project_name = {{ designate_service_project_name }}
|
||||
username = {{ designate_service_user_name }}
|
||||
password = {{ designate_service_password }}
|
||||
|
||||
allow_reverse_dns_lookup = {{ neutron_allow_reverse_dns_lookup }}
|
||||
ipv4_ptr_zone_prefix_size = {{ neutron_ipv4_ptr_zone_prefix_size }}
|
||||
ipv6_ptr_zone_prefix_size = {{ neutron_ipv6_ptr_zone_prefix_size }}
|
||||
{% endif %}
|
||||
|
||||
[nova]
|
||||
auth_type = {{ nova_keystone_auth_plugin }}
|
||||
auth_url = {{ keystone_service_adminurl }}
|
||||
|
|
Loading…
Reference in New Issue