aboutsummaryrefslogtreecommitdiffstats
path: root/environments/cinder-netapp-config.yaml
blob: 0437cc6772e35669427b5af5b40719edeadd56c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# A Heat environment file which can be used to enable a
# a Cinder NetApp backend, configured via puppet
resource_registry:
  OS::TripleO::ControllerExtraConfigPre: ../puppet/extraconfig/pre_deploy/controller/cinder-netapp.yaml

parameter_defaults:
  CinderEnableNetappBackend: true
  CinderNetappBackendName: 'tripleo_netapp'
  CinderNetappLogin: ''
  CinderNetappPassword: ''
  CinderNetappServerHostname: ''
  CinderNetappServerPort: '80'
  CinderNetappSizeMultiplier: '1.2'
  CinderNetappStorageFamily: 'ontap_cluster'
  CinderNetappStorageProtocol: 'nfs'
  CinderNetappTransportType: 'http'
  CinderNetappVfiler: ''
  CinderNetappVolumeList: ''
  CinderNetappVserver: ''
  CinderNetappPartnerBackendName: ''
  CinderNetappNfsShares: ''
  CinderNetappNfsSharesConfig: '/etc/cinder/shares.conf'
  CinderNetappNfsMountOptions: ''
  CinderNetappCopyOffloadToolPath: ''
  CinderNetappControllerIps: ''
  CinderNetappSaPassword: ''
  CinderNetappStoragePools: ''
  CinderNetappEseriesHostType: 'linux_dm_mp'
  CinderNetappWebservicePath: '/devmgr/v2'
pan class="p">{ include ::neutron::params include ::tripleo::profile::pacemaker::neutron include ::tripleo::profile::base::neutron::midonet if $step >= 5 and downcase($::hostname) == $pacemaker_master { pacemaker::resource::service {'tomcat': clone_params => 'interleave=true', } #midonet-chain chain keystone-->neutron-server-->dhcp-->metadata->tomcat pacemaker::constraint::base { 'neutron-server-to-dhcp-agent-constraint': constraint_type => 'order', first_resource => "${::neutron::params::server_service}-clone", second_resource => "${::neutron::params::dhcp_agent_service}-clone", first_action => 'start', second_action => 'start', require => [Pacemaker::Resource::Service[$::neutron::params::server_service], Pacemaker::Resource::Service[$::neutron::params::dhcp_agent_service]], } pacemaker::constraint::base { 'neutron-dhcp-agent-to-metadata-agent-constraint': constraint_type => 'order', first_resource => "${::neutron::params::dhcp_agent_service}-clone", second_resource => "${::neutron::params::metadata_agent_service}-clone", first_action => 'start', second_action => 'start', require => [Pacemaker::Resource::Service[$::neutron::params::dhcp_agent_service], Pacemaker::Resource::Service[$::neutron::params::metadata_agent_service]], } pacemaker::constraint::base { 'neutron-metadata-agent-to-tomcat-constraint': constraint_type => 'order', first_resource => "${::neutron::params::metadata_agent_service}-clone", second_resource => 'tomcat-clone', first_action => 'start', second_action => 'start', require => [Pacemaker::Resource::Service[$::neutron::params::metadata_agent_service], Pacemaker::Resource::Service['tomcat']], } pacemaker::constraint::colocation { 'neutron-dhcp-agent-to-metadata-agent-colocation': source => "${::neutron::params::metadata_agent_service}-clone", target => "${::neutron::params::dhcp_agent_service}-clone", score => 'INFINITY', require => [Pacemaker::Resource::Service[$::neutron::params::dhcp_agent_service], Pacemaker::Resource::Service[$::neutron::params::metadata_agent_service]], } } }