Add support for enable_host_header parameter.

Add config option and template setting.

Change-Id: Ie8d7012036765488eee701423814b314416d2bf8
Closes-Bug: 1692922
Related-Bug: 1691452
This commit is contained in:
Tytus Kurek 2017-05-23 17:28:55 +02:00 committed by David Ames
parent 48c14fbeca
commit 2e8eab733c
2 changed files with 5 additions and 1 deletions

View File

@ -38,3 +38,7 @@ options:
default: '%(hostname)s.%(tenant_id)s.%(zone)s'
type: string
description: Format of floating ip global records
enable-host-header:
default: false
type: boolean
description: Enables host request headers.

View File

@ -88,7 +88,7 @@ notification_topics = notifications_designate
#threads = 1000
# Enable host request headers
#enable_host_header = False
enable_host_header = {{ options.enable_host_header }}
# The base uri used in responses
api_base_uri = '{{ options.external_endpoints.designate_api.url }}'