Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / cinder-backend-dellemc-unity.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 Unity backend
18
19 parameters:
20   CinderEnableDellEMCUnityBackend:
21     type: boolean
22     default: true
23   CinderDellEMCUnityBackendName:
24     type: string
25     default: 'tripleo_dellemc_unity'
26   CinderDellEMCUnitySanIp:
27     type: string
28   CinderDellEMCUnitySanLogin:
29     type: string
30     default: 'Admin'
31   CinderDellEMCUnitySanPassword:
32     type: string
33     hidden: true
34   CinderDellEMCUnityStorageProtocol:
35     type: string
36     default: 'iSCSI'
37   CinderDellEMCUnityIoPorts:
38     type: string
39     default: ''
40   CinderDellEMCUnityStoragePoolNames:
41     type: string
42     default: ''
43   ServiceData:
44     default: {}
45     description: Dictionary packing service data
46     type: json
47   ServiceNetMap:
48     default: {}
49     description: Mapping of service_name -> network name. Typically set
50                  via parameter_defaults in the resource registry.  This
51                  mapping overrides those in ServiceNetMapDefaults.
52     type: json
53   DefaultPasswords:
54     default: {}
55     type: json
56   RoleName:
57     default: ''
58     description: Role name on which the service is applied
59     type: string
60   RoleParameters:
61     default: {}
62     description: Parameters specific to the role
63     type: json
64   EndpointMap:
65     default: {}
66     type: json
67     description: Mapping of service endpoint -> protocol. Typically set
68                  via parameter_defaults in the resource registry.
69
70 outputs:
71   role_data:
72     description: Role data for the Cinder Dell EMC Storage Center backend.
73     value:
74       service_name: cinder_backend_dellemc_unity
75       config_settings:
76                 tripleo::profile::base::cinder::volume::cinder_enable_dellemc_unity_backend: {get_param: CinderEnableDellEMCUnityBackend}
77                 cinder::backend::dellemc_unity::volume_backend_name: {get_param: CinderDellEMCUnityBackendName}
78                 cinder::backend::dellemc_unity::san_ip: {get_param: CinderDellEMCUnitySanIp}
79                 cinder::backend::dellemc_unity::san_login: {get_param: CinderDellEMCUnitySanLogin}
80                 cinder::backend::dellemc_unity::san_password: {get_param: CinderDellEMCUnitySanPassword}
81                 cinder::backend::dellemc_unity::storage_protocol: {get_param: CinderDellEMCUnityStorageProtocol}
82                 cinder::backend::dellemc_unity::unity_io_ports: {get_param: CinderDellEMCUnityIoPorts}
83                 cinder::backend::dellemc_unity::unity_storage_pool_names: {get_param: CinderDellEMCUnityStoragePoolNames}
84       step_config: |
85         include ::tripleo::profile::base::cinder::volume