diff options
author | Mark Chappell <mchappel@redhat.com> | 2015-10-28 15:30:41 +0100 |
---|---|---|
committer | Mark Chappell <mchappel@redhat.com> | 2015-11-11 09:24:10 +0100 |
commit | 992c214c06f0398cf0117d69b61d36795c6653fc (patch) | |
tree | aea134f62a6f5fb61b0d6fb2ee7e3f03e1014f90 /network/endpoints/endpoint.yaml | |
parent | ce309763c6da3c50d613ee243d98c215b3a13465 (diff) |
Make CloudName available for Endpoints
CloudName is the DNS name for the public VIP this means we will likely
want it available for use in the endpoint hostnames, rather than people
needing to copy and paste the same hostname
Change-Id: Ic6d708b083244442195eee890de91bbc7e133ec2
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] } |