Merge "Changing the default port-binding configuration"
[apex-tripleo-heat-templates.git] / puppet / services / veritas-hyperscale-controller.yaml
1 # Copyright (c) 2017 Veritas Technologies LLC.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 heat_template_version: ocata
15
16 description: >
17   Openstack Veritas HyperScale backend
18
19 parameters:
20   VrtsRabbitPassword:
21     type: string
22     description: The Rabbitmq password of the hyperscale user. Mandatory.
23   VrtsKeystonePassword:
24     type: string
25     description: The Keystone password of the hyperscale service. Mandatory.
26   VrtsMysqlPassword:
27     type: string
28     description: The MySQL password of the hyperscale user. Mandatory.
29   VrtsCtrlMgmtIP:
30     type: string
31     default: ''
32     description: The management IP of HyperScale. The value will be inferred
33                  from the rest of the deployment settings if left blank.
34   VrtsDashboardIP:
35     type: string
36     default: ''
37     description: The dashboard IP of HyperScale. The value will be inferred
38                  from the rest of the deployment settings if left blank.
39   VrtsZookeeperIP:
40     type: string
41     description: The IP of a node where Zookeeper is configured. Mandatory.
42   VrtsSSHPassword:
43     type: string
44     description: The SSH password of the hyperscale user. Mandatory.
45   VrtsConfigParam1:
46     type: string
47     default: ''
48     description: Additional config parameter. Optional.
49   VrtsConfigParam2:
50     type: string
51     default: ''
52     description: Additional config parameter. Optional.
53   VrtsConfigParam3:
54     type: string
55     default: ''
56     description: Additional config parameter. Optional.
57   ServiceData:
58     default: {}
59     description: Dictionary packing service data
60     type: json
61   ServiceNetMap:
62     default: {}
63     description: Mapping of service_name -> network name. Typically set
64                  via parameter_defaults in the resource registry.  This
65                  mapping overrides those in ServiceNetMapDefaults.
66     type: json
67   DefaultPasswords:
68     default: {}
69     type: json
70   RoleName:
71     default: ''
72     description: Role name on which the service is applied
73     type: string
74   RoleParameters:
75     default: {}
76     description: Parameters specific to the role
77     type: json
78   EndpointMap:
79     default: {}
80     type: json
81     description: Mapping of service endpoint -> protocol. Typically set
82                  via parameter_defaults in the resource registry.
83
84 outputs:
85   role_data:
86     description: Install Veritas HyperScale packages for controller.
87     value:
88       service_name: veritas_hyperscale_controller
89       config_settings:
90       global_config_settings:
91         vrts_ctrl_mgmt_ip: {get_param: VrtsCtrlMgmtIP}
92         vrts_dashboard_ip: {get_param: VrtsDashboardIP}
93         vrts_zookeeper_ip: {get_param: VrtsZookeeperIP}
94         vrts_ssh_passwd: {get_param: VrtsSSHPassword}
95         vrts_config_param1: {get_param: VrtsConfigParam1}
96         vrts_config_param2: {get_param: VrtsConfigParam2}
97         vrts_config_param3: {get_param: VrtsConfigParam3}
98       step_config: |
99         include ::veritas_hyperscale::controller_pkg_inst
100       service_config_settings:
101         rabbitmq:
102             vrts_rabbitmq_passwd: {get_param: VrtsRabbitPassword}
103         keystone:
104             vrts_keystone_passwd: {get_param: VrtsKeystonePassword}
105         mysql:
106             vrts_mysql_passwd: {get_param: VrtsMysqlPassword}