aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/controller-role.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-13 02:04:21 +0000
committerGerrit Code Review <review@openstack.org>2017-07-13 02:04:21 +0000
commitc76feac1a9d80c545330085c9928b6ff15f58096 (patch)
tree05e33a7e991d7ab94e82cd8fa28cdd45a951195d /puppet/controller-role.yaml
parent25acb53ddfc15644b9803b66a5e2f8203ddc188c (diff)
parentd0acf566066126ef41f85dacf825ceb6e850cc62 (diff)
Merge "Add DeployedServerEnvironmentOutput"
Diffstat (limited to 'puppet/controller-role.yaml')
-rw-r--r--puppet/controller-role.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/puppet/controller-role.yaml b/puppet/controller-role.yaml
index 34e8c965..c9c30af5 100644
--- a/puppet/controller-role.yaml
+++ b/puppet/controller-role.yaml
@@ -641,6 +641,45 @@ outputs:
management_ip_address:
description: IP address of the server in the management network
value: {get_attr: [ManagementPort, ip_address]}
+ deployed_server_port_map:
+ description:
+ Map of Heat created hostname of the server to ip address. This is the
+ hostname before it has been mapped with the HostnameMap parameter, and
+ the IP address from the ctlplane network. This map can be used to construct
+ the DeployedServerPortMap parameter when using split-stack.
+ value:
+ map_replace:
+ - hostname:
+ fixed_ips:
+ - ip_address: {get_attr: [Controller, networks, ctlplane, 0]}
+ - keys:
+ hostname:
+ list_join:
+ - '-'
+ - - {get_param: Hostname}
+ - ctlplane
+ deployed_server_deployment_swift_data_map:
+ description:
+ Map of Heat created hostname of the server to the Swift container and object
+ used to created the temporary url for metadata polling with
+ os-collect-config.
+ value:
+ map_replace:
+ - hostname:
+ container:
+ str_split:
+ - '/'
+ - {get_attr: [Controller, os_collect_config, request, metadata_url]}
+ - 5
+ object:
+ str_split:
+ - '?'
+ - str_split:
+ - '/'
+ - {get_attr: [Controller, os_collect_config, request, metadata_url]}
+ - 6
+ - 0
+ - keys: {hostname: {get_param: Hostname}}
hostname:
description: Hostname of the server
value: {get_attr: [Controller, name]}