Merge "TLS everywhere: configure mongodb's TLS settings"
[apex-tripleo-heat-templates.git] / puppet / services / cinder-backend-dellps.yaml
1 # Copyright (c) 2017 Dell Inc. or its subsidiaries.
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
15 heat_template_version: pike
16
17 description: >
18   Openstack Cinder Dell EMC PS Series backend
19
20 parameters:
21   CinderEnableDellPsBackend:
22     type: boolean
23     default: true
24   CinderDellPsBackendName:
25     type: string
26     default: 'tripleo_dellps'
27   CinderDellPsSanIp:
28     type: string
29   CinderDellPsSanLogin:
30     type: string
31   CinderDellPsSanPassword:
32     type: string
33     hidden: true
34   CinderDellPsSanThinProvision:
35     type: boolean
36     default: true
37   CinderDellPsGroupname:
38     type: string
39     default: 'group-0'
40   CinderDellPsPool:
41     type: string
42     default: 'default'
43   CinderDellPsChapLogin:
44     type: string
45     default: ''
46   CinderDellPsChapPassword:
47     type: string
48     default: ''
49   CinderDellPsUseChap:
50     type: boolean
51     default: false
52   ServiceNetMap:
53     default: {}
54     description: Mapping of service_name -> network name. Typically set
55                  via parameter_defaults in the resource registry.  This
56                  mapping overrides those in ServiceNetMapDefaults.
57     type: json
58   DefaultPasswords:
59     default: {}
60     type: json
61   RoleName:
62     default: ''
63     description: Role name on which the service is applied
64     type: string
65   RoleParameters:
66     default: {}
67     description: Parameters specific to the role
68     type: json
69   EndpointMap:
70     default: {}
71     type: json
72     description: Mapping of service endpoint -> protocol. Typically set
73                  via parameter_defaults in the resource registry.
74
75 outputs:
76   role_data:
77     description: Role data for the Cinder Dell EMC PS Series backend.
78     value:
79       service_name: cinder_backend_dellps
80       config_settings:
81         tripleo::profile::base::cinder::volume::cinder_enable_dellps_backend: {get_param: CinderEnableDellPsBackend}
82         cinder::backend::eqlx::volume_backend_name: {get_param: CinderDellPsBackendName}
83         cinder::backend::eqlx::san_ip: {get_param: CinderDellPsSanIp}
84         cinder::backend::eqlx::san_login: {get_param: CinderDellPsSanLogin}
85         cinder::backend::eqlx::san_password: {get_param: CinderDellPsSanPassword}
86         cinder::backend::eqlx::san_thin_provision: {get_param: CinderDellPsSanThinProvision}
87         cinder::backend::eqlx::eqlx_group_name: {get_param: CinderDellPsGroupname}
88         cinder::backend::eqlx::eqlx_pool: {get_param: CinderDellPsPool}
89         cinder::backend::eqlx::eqlx_use_chap: {get_param: CinderDellPsUseChap}
90         cinder::backend::eqlx::eqlx_chap_login: {get_param: CinderDellPsChapLogin}
91         cinder::backend::eqlx::eqlx_chap_password: {get_param: CinderDellPsChapPassword}
92       step_config: |
93         include ::tripleo::profile::base::cinder::volume