Configure DPDK options to isolate PMD cores and ovs process cores
[apex-tripleo-heat-templates.git] / puppet / extraconfig / pre_deploy / controller / cinder-netapp.yaml
1 heat_template_version: 2015-04-30
2
3 description: Configure hieradata for Cinder Netapp configuration
4
5 parameters:
6   server:
7     description: ID of the controller node to apply this config to
8     type: string
9
10   # Config specific parameters, to be provided via parameter_defaults
11   CinderEnableNetappBackend:
12     type: boolean
13     default: true
14   CinderNetappBackendName:
15     type: string
16     default: 'tripleo_netapp'
17   CinderNetappLogin:
18     type: string
19   CinderNetappPassword:
20     type: string
21     hidden: true
22   CinderNetappServerHostname:
23     type: string
24   CinderNetappServerPort:
25     type: string
26     default: '80'
27   CinderNetappSizeMultiplier:
28     type: string
29     default: '1.2'
30   CinderNetappStorageFamily:
31     type: string
32     default: 'ontap_cluster'
33   CinderNetappStorageProtocol:
34     type: string
35     default: 'nfs'
36   CinderNetappTransportType:
37     type: string
38     default: 'http'
39   CinderNetappVfiler:
40     type: string
41     default: ''
42   CinderNetappVolumeList:
43     type: string
44     default: ''
45   CinderNetappVserver:
46     type: string
47     default: ''
48   CinderNetappPartnerBackendName:
49     type: string
50     default: ''
51   CinderNetappNfsShares:
52     type: string
53     default: ''
54   CinderNetappNfsSharesConfig:
55     type: string
56     default: '/etc/cinder/shares.conf'
57   CinderNetappNfsMountOptions:
58     type: string
59     default: ''
60   CinderNetappCopyOffloadToolPath:
61     type: string
62     default: ''
63   CinderNetappControllerIps:
64     type: string
65     default: ''
66   CinderNetappSaPassword:
67     type: string
68     default: ''
69     hidden: true
70   CinderNetappStoragePools:
71     type: string
72     default: ''
73   CinderNetappHostType:
74     type: string
75     default: ''
76   CinderNetappWebservicePath:
77     type: string
78     default: '/devmgr/v2'
79   # DEPRECATED options for compatibility with older versions
80   CinderNetappEseriesHostType:
81     type: string
82     default: 'linux_dm_mp'
83
84 parameter_groups:
85 - label: deprecated
86   description: Do not use deprecated params, they will be removed.
87   parameters:
88   - CinderNetappEseriesHostType
89
90 resources:
91   CinderNetappConfig:
92     type: OS::Heat::StructuredConfig
93     properties:
94       group: os-apply-config
95       config:
96         hiera:
97           datafiles:
98             cinder_netapp_data:
99               mapped_data:
100                 tripleo::profile::base::cinder::volume::cinder_enable_netapp_backend: {get_input: EnableNetappBackend}
101                 cinder::backend::netapp::title: {get_input: NetappBackendName}
102                 cinder::backend::netapp::netapp_login: {get_input: NetappLogin}
103                 cinder::backend::netapp::netapp_password: {get_input: NetappPassword}
104                 cinder::backend::netapp::netapp_server_hostname: {get_input: NetappServerHostname}
105                 cinder::backend::netapp::netapp_server_port: {get_input: NetappServerPort}
106                 cinder::backend::netapp::netapp_size_multiplier: {get_input: NetappSizeMultiplier}
107                 cinder::backend::netapp::netapp_storage_family: {get_input: NetappStorageFamily}
108                 cinder::backend::netapp::netapp_storage_protocol: {get_input: NetappStorageProtocol}
109                 cinder::backend::netapp::netapp_transport_type: {get_input: NetappTransportType}
110                 cinder::backend::netapp::netapp_vfiler: {get_input: NetappVfiler}
111                 cinder::backend::netapp::netapp_volume_list: {get_input: NetappVolumeList}
112                 cinder::backend::netapp::netapp_vserver: {get_input: NetappVserver}
113                 cinder::backend::netapp::netapp_partner_backend_name: {get_input: NetappPartnerBackendName}
114                 cinder::backend::netapp::nfs_shares: {get_input: NetappNfsShares}
115                 cinder::backend::netapp::nfs_shares_config: {get_input: NetappNfsSharesConfig}
116                 cinder::backend::netapp::nfs_mount_options: {get_input: NetappNfsMountOptions}
117                 cinder::backend::netapp::netapp_copyoffload_tool_path: {get_input: NetappCopyOffloadToolPath}
118                 cinder::backend::netapp::netapp_controller_ips: {get_input: NetappControllerIps}
119                 cinder::backend::netapp::netapp_sa_password: {get_input: NetappSaPassword}
120                 cinder::backend::netapp::netapp_storage_pools: {get_input: NetappStoragePools}
121                 cinder::backend::netapp::netapp_host_type: {get_input: NetappHostType}
122                 cinder::backend::netapp::netapp_webservice_path: {get_input: NetappWebservicePath}
123
124   CinderNetappDeployment:
125     type: OS::Heat::StructuredDeployment
126     properties:
127       name: CinderNetappDeployment
128       config: {get_resource: CinderNetappConfig}
129       server: {get_param: server}
130       input_values:
131         EnableNetappBackend: {get_param: CinderEnableNetappBackend}
132         NetappBackendName: {get_param: CinderNetappBackendName}
133         NetappLogin: {get_param: CinderNetappLogin}
134         NetappPassword: {get_param: CinderNetappPassword}
135         NetappServerHostname: {get_param: CinderNetappServerHostname}
136         NetappServerPort: {get_param: CinderNetappServerPort}
137         NetappSizeMultiplier: {get_param: CinderNetappSizeMultiplier}
138         NetappStorageFamily: {get_param: CinderNetappStorageFamily}
139         NetappStorageProtocol: {get_param: CinderNetappStorageProtocol}
140         NetappTransportType: {get_param: CinderNetappTransportType}
141         NetappVfiler: {get_param: CinderNetappVfiler}
142         NetappVolumeList: {get_param: CinderNetappVolumeList}
143         NetappVserver: {get_param: CinderNetappVserver}
144         NetappPartnerBackendName: {get_param: CinderNetappPartnerBackendName}
145         NetappNfsShares: {get_param: CinderNetappNfsShares}
146         NetappNfsSharesConfig: {get_param: CinderNetappNfsSharesConfig}
147         NetappNfsMountOptions: {get_param: CinderNetappNfsMountOptions}
148         NetappCopyOffloadToolPath: {get_param: CinderNetappCopyOffloadToolPath}
149         NetappControllerIps: {get_param: CinderNetappControllerIps}
150         NetappSaPassword: {get_param: CinderNetappSaPassword}
151         NetappStoragePools: {get_param: CinderNetappStoragePools}
152         NetappHostType: {get_param: CinderNetappHostType}
153         NetappWebservicePath: {get_param: CinderNetappWebservicePath}
154
155 outputs:
156   deploy_stdout:
157     description: Deployment reference, used to trigger puppet apply on changes
158     value: {get_attr: [CinderNetappDeployment, deploy_stdout]}