Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / cinder-backend-dellemc-vmax-iscsi.yaml
1 # Copyright (c) 2016-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 heat_template_version: pike
15
16 description: >
17   Openstack Cinder Dell EMC VMAX iscsi backend
18
19 parameters:
20   CinderEnableDellEMCVMAXISCSIBackend:
21     type: boolean
22     default: true
23   CinderDellEMCVMAXISCSIBackendName:
24     type: string
25     default: 'tripleo_dellemc_vmax_iscsi'
26   CinderDellEMCVMAXISCSIConfigFile:
27     type: string
28   ServiceData:
29     default: {}
30     description: Dictionary packing service data
31     type: json
32   ServiceNetMap:
33     default: {}
34     description: Mapping of service_name -> network name. Typically set
35                  via parameter_defaults in the resource registry.  This
36                  mapping overrides those in ServiceNetMapDefaults.
37     type: json
38   DefaultPasswords:
39     default: {}
40     type: json
41   RoleName:
42     default: ''
43     description: Role name on which the service is applied
44     type: string
45   RoleParameters:
46     default: {}
47     description: Parameters specific to the role
48     type: json
49   EndpointMap:
50     default: {}
51     type: json
52     description: Mapping of service endpoint -> protocol. Typically set
53                  via parameter_defaults in the resource registry.
54
55 outputs:
56   role_data:
57     description: Role data for the Cinder Dell EMC VMAX iscsi backend.
58     value:
59       service_name: cinder_backend_dellemc_vmax_iscsi
60       config_settings:
61                 tripleo::profile::base::cinder::volume::cinder_enable_dellemc_vmax_iscsi_backend: {get_param: CinderEnableDellEMCVMAXISCSIBackend}
62                 cinder::backend::dell_emc_vmax_iscsi::volume_backend_name: {get_param: CinderDellEMCVMAXISCSIBackendName}
63                 cinder::backend::dell_emc_vmax_iscsi::cinder_emc_config_file: {get_param: CinderDellEMCVMAXISCSIConfigFile}
64       step_config: |
65         include ::tripleo::profile::base::cinder::volume