diff options
author | rajinir <rajini_ram@dell.com> | 2017-08-03 15:32:28 -0500 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2017-09-05 04:52:47 +0000 |
commit | a3f44bb6af9acc64569391dca8e85b854ae37072 (patch) | |
tree | b1480d79e6f686ca8d5bfbe981305c674d829102 /manifests/profile/base/manila | |
parent | 193d275b119a406e5bbe4f2593711b3ec7723afe (diff) |
Support for Dell EMC VNX Manila Driver
This changes adds Dell EMC VNX backend as composable service
and matches the tripleo-heat-templates.
Change-Id: Iab80dc636913610704e1ceb2642ce738b68bb827
Implements: blueprint support-dellemc-vnx-manila
(cherry picked from commit eca5b4dfb22a9e9476cd835d2e211def4c9bd5c9)
Diffstat (limited to 'manifests/profile/base/manila')
-rw-r--r-- | manifests/profile/base/manila/api.pp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/manifests/profile/base/manila/api.pp b/manifests/profile/base/manila/api.pp index a86c5b2..374479c 100644 --- a/manifests/profile/base/manila/api.pp +++ b/manifests/profile/base/manila/api.pp @@ -29,6 +29,7 @@ # [*backend_vmax_enabled*] # (Optional) Whether or not the vmax backend is enabled # Defaults to hiera('manila_backend_vmax_enabled', false) +# # [*backend_isilon_enabled*] # (Optional) Whether or not the isilon backend is enabled # Defaults to hiera('manila_backend_isilon_enabled', false) @@ -37,6 +38,10 @@ # (Optional) Whether or not the unity backend is enabled # Defaults to hiera('manila_backend_unity_enabled', false) # +# [*backend_vnx_enabled*] +# (Optional) Whether or not the vnx backend is enabled +# Defaults to hiera('manila_backend_vnx_enabled', false) +# # [*backend_cephfs_enabled*] # (Optional) Whether or not the cephfs backend is enabled # Defaults to hiera('manila_backend_cephfs_enabled', false) @@ -56,6 +61,7 @@ class tripleo::profile::base::manila::api ( $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_vnx_enabled = hiera('manila_backend_vnx_enabled', false), $backend_cephfs_enabled = hiera('manila_backend_cephfs_enabled', false), $bootstrap_node = hiera('bootstrap_nodeid', undef), $step = Integer(hiera('step')), @@ -69,9 +75,10 @@ class tripleo::profile::base::manila::api ( include ::tripleo::profile::base::manila if $step >= 4 or ($step >= 3 and $sync_db) { - if $backend_generic_enabled or $backend_netapp_enabled or $backend_vmax_enabled or $backend_isilon_enabled or $backend_unity_enabled { - $nfs_protocol = 'NFS' - $cifs_protocol = 'CIFS' + if $backend_generic_enabled or $backend_netapp_enabled or $backend_vmax_enabled or + $backend_isilon_enabled or $backend_unity_enabled or $backend_vnx_enabled { + $nfs_protocol = 'NFS' + $cifs_protocol = 'CIFS' } else { $nfs_protocol = undef $cifs_protocol = undef |