diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:44:05 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:47:57 +0400 |
commit | a6daf4ece3f05600ad66fea55c5220d07a71cef1 (patch) | |
tree | 988e0e370b7c2683f10eff189f2ba7b276b24923 /mcp/reclass/classes/system/cinder/volume/backend | |
parent | 7b4fbdd9be1a234c345b21ebf0eafcf7f5187f26 (diff) |
[mcp] Bring in reclass system salt models
Change-Id: I1a865b7524f3a5242544e60e6b36b1092721c58b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/system/cinder/volume/backend')
4 files changed, 62 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/cinder/volume/backend/ceph.yml b/mcp/reclass/classes/system/cinder/volume/backend/ceph.yml new file mode 100644 index 000000000..6560add2f --- /dev/null +++ b/mcp/reclass/classes/system/cinder/volume/backend/ceph.yml @@ -0,0 +1,17 @@ +parameters: + cinder: + volume: + message_queue: + ha_queues: true + enabled: true + notification: true + default_volume_type: standard-iops + backend: + ceph: + type_name: standard-iops + backend: ceph + pool: ${_param:cinder_storage_pool} + engine: ceph + user: ${_param:cinder_storage_user} + secret_uuid: ${_param:cinder_storage_secret_uuid} + client_cinder_key: ${_param:cinder_storage_client_key} diff --git a/mcp/reclass/classes/system/cinder/volume/backend/hitashi_vsp.yml b/mcp/reclass/classes/system/cinder/volume/backend/hitashi_vsp.yml new file mode 100644 index 000000000..e7aa30df6 --- /dev/null +++ b/mcp/reclass/classes/system/cinder/volume/backend/hitashi_vsp.yml @@ -0,0 +1,18 @@ +parameters: + cinder: + volume: + default_volume_type: hitachi_vsp + enabled: True + backend: + hitachi_vsp: + backend: hitachi_vsp + type_name: hitachi_vsp + engine: hitachi_vsp + version: 1.3 + user: ${_param:cinder_storage_user} + password: ${_param:cinder_storage_password} + storage_id: ${_param:cinder_storage_id} + thin_pool_id: ${_param:cinder_thin_pool_id} + pool_id: ${_param:cinder_pool_id} + target_ports: ${_param:cinder_target_ports} + compute_target_ports: ${_param:cinder_target_compute_ports} diff --git a/mcp/reclass/classes/system/cinder/volume/backend/lvm.yml b/mcp/reclass/classes/system/cinder/volume/backend/lvm.yml new file mode 100644 index 000000000..768fb6b8b --- /dev/null +++ b/mcp/reclass/classes/system/cinder/volume/backend/lvm.yml @@ -0,0 +1,18 @@ +parameters: + _param: + cinder_lvm_devices: [ "/dev/loop0" ] + linux: + storage: + lvm: + cinder-vg: + enabled: true + name: cinder-volume + devices: ${_param:cinder_lvm_devices} + cinder: + volume: + default_volume_type: lvm-driver + backend: + lvm-driver: + engine: lvm + type_name: lvm-driver + volume_group: cinder-volume diff --git a/mcp/reclass/classes/system/cinder/volume/backend/nfs.yml b/mcp/reclass/classes/system/cinder/volume/backend/nfs.yml new file mode 100644 index 000000000..e78f4fb50 --- /dev/null +++ b/mcp/reclass/classes/system/cinder/volume/backend/nfs.yml @@ -0,0 +1,9 @@ +parameters: + cinder: + volume: + default_volume_type: nfs-driver + backend: + nfs-driver: + engine: nfs + type_name: nfs-driver + volume_group: cinder-volume
\ No newline at end of file |