diff --git a/src/templates/rocky/designate.conf b/src/templates/rocky/designate.conf index ca6e767..9fe0c34 100644 --- a/src/templates/rocky/designate.conf +++ b/src/templates/rocky/designate.conf @@ -85,12 +85,9 @@ enable_host_header = true # The base uri used in responses api_base_uri = '{{ options.external_endpoints.designate_api.url }}' -# Address to bind the API server +# API host:port pairs to listen on (list value) # 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 }}' +listen = 0.0.0.0:{{ options.service_listen_info.designate_api.port }} # Maximum line size of message headers to be accepted. max_header_line may # need to be increased when using large tokens (typically those generated by diff --git a/src/tests/gate-basic-bionic-train b/src/tests/gate-basic-bionic-train new file mode 100755 index 0000000..960e8a8 --- /dev/null +++ b/src/tests/gate-basic-bionic-train @@ -0,0 +1,27 @@ +#!/usr/bin/env python + +# Copyright 2016 Canonical Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +"""Amulet tests on a basic aodh deployment on bionic-train.""" + +from basic_deployment import DesignateBasicDeployment + +if __name__ == '__main__': + deployment = DesignateBasicDeployment( + series='bionic', + openstack='cloud:bionic-train', + source='cloud:bionic-train') + deployment.run_tests() diff --git a/src/tox.ini b/src/tox.ini index 8a91d50..dd17ae5 100644 --- a/src/tox.ini +++ b/src/tox.ini @@ -43,7 +43,7 @@ commands = # Run a specific test as an Amulet smoke test (expected to always pass) basepython = python2.7 commands = - bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-stein --no-destroy + bundletester -vl DEBUG -r json -o func-results.json gate-basic-bionic-train --no-destroy [testenv:func-dev] # Run all development test targets which are +x (may not always pass!)