diff options
author | rajinir <rajini_ram@dell.com> | 2017-08-03 11:13:19 -0500 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2017-08-30 15:45:50 +0000 |
commit | 35740227778077fc2c49bb19dfe0193dcb6d663e (patch) | |
tree | c72e04f6b06f683ff0e9daba5ae0fa970ebdefe2 /manifests/profile/pacemaker | |
parent | 21ef4590b89d186cb30becbe9ddea5e5449ce4eb (diff) |
Support for Dell EMC Unity Manila Driver
This changes adds Dell EMC Unity backend as composable service
and matches the tripleo-heat-templates.
Change-Id: I0df1e16db89cd53e4f16cd08ccb975d8e7e9a470
Implements: blueprint dellemc-unity-manila
(cherry picked from commit 2f93b4fc3aa63d99b7dcb0302e9ee48bda1f4282)
Diffstat (limited to 'manifests/profile/pacemaker')
-rw-r--r-- | manifests/profile/pacemaker/manila.pp | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/manifests/profile/pacemaker/manila.pp b/manifests/profile/pacemaker/manila.pp index f313f16..d21c9c4 100644 --- a/manifests/profile/pacemaker/manila.pp +++ b/manifests/profile/pacemaker/manila.pp @@ -34,6 +34,10 @@ # (Optional) Whether or not the isilon backend is enabled # Defaults to hiera('manila_backend_isilon_enabled', false) # +# [*backend_unity_enabled*] +# (Optional) Whether or not the unity backend is enabled +# Defaults to hiera('manila_backend_unity_enabled', false) +# # [*backend_cephfs_enabled*] # (Optional) Whether or not the cephfs backend is enabled # Defaults to hiera('manila_backend_cephfs_enabled', false) @@ -56,6 +60,7 @@ class tripleo::profile::pacemaker::manila ( $backend_netapp_enabled = hiera('manila_backend_netapp_enabled', false), $backend_vmax_enabled = hiera('manila_backend_vmax_enabled', false), $backend_isilon_enabled = hiera('manila_backend_isilon_enabled', false), + $backend_unity_enabled = hiera('manila_backend_unity_enabled', false), $backend_cephfs_enabled = hiera('manila_backend_cephfs_enabled', false), $bootstrap_node = hiera('manila_share_short_bootstrap_node_name'), $step = Integer(hiera('step')), @@ -176,6 +181,21 @@ class tripleo::profile::pacemaker::manila ( vmax_ethernet_ports => hiera('manila::backend::dellemc_vmax::vmax_ethernet_ports'), } } + # manila unity: + if $backend_unity_enabled { + $manila_unity_backend = hiera('manila::backend::dellemc_unity::title') + manila::backend::dellemc_unity { $manila_unity_backend : + driver_handles_share_servers => hiera('manila::backend::dellemc_unity::driver_handles_share_servers', true), + emc_nas_login => hiera('manila::backend::dellemc_unity::emc_nas_login'), + emc_nas_password => hiera('manila::backend::dellemc_unity::emc_nas_password'), + emc_nas_server => hiera('manila::backend::dellemc_unity::emc_nas_server'), + emc_share_backend => hiera('manila::backend::dellemc_unity::emc_share_backend','unity'), + share_backend_name => hiera('manila::backend::dellemc_unity::share_backend_name'), + unity_server_meta_pool => hiera('manila::backend::dellemc_unity::unity_server_meta_pool'), + unity_share_data_pools => hiera('manila::backend::dellemc_unity::unity_share_data_pools'), + unity_ethernet_ports => hiera('manila::backend::dellemc_unity::unity_ethernet_ports'), + } + } @@ -201,7 +221,8 @@ class tripleo::profile::pacemaker::manila ( $manila_cephfsnative_backend, $manila_netapp_backend, $manila_vmax_backend, - $manila_isilon_backend + $manila_isilon_backend, + $manila_unity_backend ] ) class { '::manila::backends' : |