diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-11-16 13:59:19 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-11-16 13:59:19 +0000 |
commit | aba244af4dcc8c28db81d02da9573e9a6776f2e0 (patch) | |
tree | c7d12f1ae3b086ff60a245b21d2ed2187d18d534 /network/endpoints/endpoint.yaml | |
parent | 1fca42264e0606f415b5bca45c10d9c4dae5074c (diff) | |
parent | 992c214c06f0398cf0117d69b61d36795c6653fc (diff) |
Merge "Make CloudName available for Endpoints"
Diffstat (limited to 'network/endpoints/endpoint.yaml')
-rw-r--r-- | network/endpoints/endpoint.yaml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/network/endpoints/endpoint.yaml b/network/endpoints/endpoint.yaml index 8ffd6c4b..4d6efdb6 100644 --- a/network/endpoints/endpoint.yaml +++ b/network/endpoints/endpoint.yaml @@ -19,6 +19,10 @@ parameters: type: string default: '' description: A suffix attached to the URL + CloudName: + type: string + default: '' + description: The DNS name of this cloud. E.g. ci-overcloud.tripleo.org outputs: endpoint: @@ -31,7 +35,7 @@ outputs: host: str_replace: template: {get_param: [EndpointMap, {get_param: EndpointName }, host]} - params: {IP_ADDRESS: {get_param: IP} } + params: {IP_ADDRESS: {get_param: IP}, CLOUDNAME: {get_param: CloudName}} uri: list_join: - '' @@ -39,7 +43,7 @@ outputs: - '://' - str_replace: template: {get_param: [EndpointMap, {get_param: EndpointName }, host]} - params: {IP_ADDRESS: {get_param: IP} } + params: {IP_ADDRESS: {get_param: IP}, CLOUDNAME: {get_param: CloudName }} - ':' - {get_param: [EndpointMap, {get_param: EndpointName }, port] } - {get_param: UriSuffix } @@ -50,6 +54,6 @@ outputs: - '://' - str_replace: template: {get_param: [EndpointMap, {get_param: EndpointName }, host]} - params: {IP_ADDRESS: {get_param: IP} } + params: {IP_ADDRESS: {get_param: IP}, CLOUDNAME: {get_param: CloudName} } - ':' - {get_param: [EndpointMap, {get_param: EndpointName }, port] } |