Change flat network name for nosdn fdio scenario
[apex-tripleo-heat-templates.git] / puppet / services / cinder-backend-netapp.yaml
1 heat_template_version: pike
2
3 description: Openstack Cinder Netapp backend
4
5 parameters:
6   ServiceData:
7     default: {}
8     description: Dictionary packing service data
9     type: json
10   ServiceNetMap:
11     default: {}
12     description: Mapping of service_name -> network name. Typically set
13                  via parameter_defaults in the resource registry.  This
14                  mapping overrides those in ServiceNetMapDefaults.
15     type: json
16   DefaultPasswords:
17     default: {}
18     type: json
19   RoleName:
20     default: ''
21     description: Role name on which the service is applied
22     type: string
23   RoleParameters:
24     default: {}
25     description: Parameters specific to the role
26     type: json
27   EndpointMap:
28     default: {}
29     description: Mapping of service endpoint -> protocol. Typically set
30                  via parameter_defaults in the resource registry.
31     type: json
32   CinderEnableNetappBackend:
33     type: boolean
34     default: true
35   CinderNetappBackendName:
36     type: string
37     default: 'tripleo_netapp'
38   CinderNetappLogin:
39     type: string
40   CinderNetappPassword:
41     type: string
42     hidden: true
43   CinderNetappServerHostname:
44     type: string
45   CinderNetappServerPort:
46     type: string
47     default: '80'
48   CinderNetappSizeMultiplier:
49     type: string
50     default: '1.2'
51   CinderNetappStorageFamily:
52     type: string
53     default: 'ontap_cluster'
54   CinderNetappStorageProtocol:
55     type: string
56     default: 'nfs'
57   CinderNetappTransportType:
58     type: string
59     default: 'http'
60   CinderNetappVfiler:
61     type: string
62     default: ''
63   CinderNetappVolumeList:
64     type: string
65     default: ''
66   CinderNetappVserver:
67     type: string
68     default: ''
69   CinderNetappPartnerBackendName:
70     type: string
71     default: ''
72   CinderNetappNfsShares:
73     type: string
74     default: ''
75   CinderNetappNfsSharesConfig:
76     type: string
77     default: '/etc/cinder/shares.conf'
78   CinderNetappNfsMountOptions:
79     type: string
80     default: ''
81   CinderNetappCopyOffloadToolPath:
82     type: string
83     default: ''
84   CinderNetappControllerIps:
85     type: string
86     default: ''
87   CinderNetappSaPassword:
88     type: string
89     default: ''
90     hidden: true
91   CinderNetappStoragePools:
92     type: string
93     default: ''
94   CinderNetappHostType:
95     type: string
96     default: ''
97   CinderNetappWebservicePath:
98     type: string
99     default: '/devmgr/v2'
100   CinderNetappNasSecureFileOperations:
101     type: string
102     default: 'false'
103   CinderNetappNasSecureFilePermissions:
104     type: string
105     default: 'false'
106   # DEPRECATED options for compatibility with older versions
107   CinderNetappEseriesHostType:
108     type: string
109     default: 'linux_dm_mp'
110
111 parameter_groups:
112 - label: deprecated
113   description: Do not use deprecated params, they will be removed.
114   parameters:
115   - CinderNetappEseriesHostType
116
117 outputs:
118   role_data:
119     description: Role data for the Cinder NetApp backend.
120     value:
121       service_name: cinder_backend_netapp
122       config_settings:
123         tripleo::profile::base::cinder::volume::cinder_enable_netapp_backend: {get_param: CinderEnableNetappBackend}
124         cinder::backend::netapp::title: {get_param: CinderNetappBackendName}
125         cinder::backend::netapp::netapp_login: {get_param: CinderNetappLogin}
126         cinder::backend::netapp::netapp_password: {get_param: CinderNetappPassword}
127         cinder::backend::netapp::netapp_server_hostname: {get_param: CinderNetappServerHostname}
128         cinder::backend::netapp::netapp_server_port: {get_param: CinderNetappServerPort}
129         cinder::backend::netapp::netapp_size_multiplier: {get_param: CinderNetappSizeMultiplier}
130         cinder::backend::netapp::netapp_storage_family: {get_param: CinderNetappStorageFamily}
131         cinder::backend::netapp::netapp_storage_protocol: {get_param: CinderNetappStorageProtocol}
132         cinder::backend::netapp::netapp_transport_type: {get_param: CinderNetappTransportType}
133         cinder::backend::netapp::netapp_vfiler: {get_param: CinderNetappVfiler}
134         cinder::backend::netapp::netapp_volume_list: {get_param: CinderNetappVolumeList}
135         cinder::backend::netapp::netapp_vserver: {get_param: CinderNetappVserver}
136         cinder::backend::netapp::netapp_partner_backend_name: {get_param: CinderNetappPartnerBackendName}
137         cinder::backend::netapp::nfs_shares: {get_param: CinderNetappNfsShares}
138         cinder::backend::netapp::nfs_shares_config: {get_param: CinderNetappNfsSharesConfig}
139         cinder::backend::netapp::nfs_mount_options: {get_param: CinderNetappNfsMountOptions}
140         cinder::backend::netapp::netapp_copyoffload_tool_path: {get_param: CinderNetappCopyOffloadToolPath}
141         cinder::backend::netapp::netapp_controller_ips: {get_param: CinderNetappControllerIps}
142         cinder::backend::netapp::netapp_sa_password: {get_param: CinderNetappSaPassword}
143         cinder::backend::netapp::netapp_storage_pools: {get_param: CinderNetappStoragePools}
144         cinder::backend::netapp::netapp_host_type: {get_param: CinderNetappHostType}
145         cinder::backend::netapp::netapp_webservice_path: {get_param: CinderNetappWebservicePath}
146         cinder::backend::netapp::nas_secure_file_operations: {get_param: CinderNetappNasSecureFileOperations}
147         cinder::backend::netapp::nas_secure_file_permissions: {get_param: CinderNetappNasSecureFilePermissions}
148       step_config: |
149         include ::tripleo::profile::base::cinder::volume