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