Enable designate to list on all interfaces

This is a fix to enable designate to listen on all interfaces when the
charm designate is installed on a unit with multiple interfaces.

Change-Id: I96f23532d18550d0e27153d60f1003016958985b
Closes-Bug: #1734156
This commit is contained in:
Alex Kavanagh 2017-11-29 11:58:36 +00:00
parent 9b7a81664a
commit ad6f784696
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -5,5 +5,6 @@ interfaces
builds
deps
.testrepository
.stestr
__pycache__
*.pyc

View File

@ -94,7 +94,8 @@ enable_host_header = {{ options.enable_host_header }}
api_base_uri = '{{ options.external_endpoints.designate_api.url }}'
# Address to bind the API server
api_host = '{{ options.service_listen_info.designate_api.ip }}'
# NOTE:tinwood - Listen on every interface; fix for BUG #1734156
api_host = 0.0.0.0
# Port the bind the API server to
api_port = '{{ options.service_listen_info.designate_api.port }}'