Allow cinder-volume to be configured to use HNAS iscsi

Change-Id: I6ca1957c1518d8dfe6a15b22e76c0b9a52e2f1c2
This commit is contained in:
Francisco Edigleison Barbosa
2016-12-12 15:41:22 -03:00
committed by Mauricio Lima
parent dc6467d7f4
commit 0ea2095560
4 changed files with 32 additions and 0 deletions

View File

@@ -77,5 +77,20 @@ cinder_backends:
- name: "nfs-1"
driver: "nfs"
enabled: "{{ enable_cinder_backend_nfs | bool }}"
- name: "hnas_iscsi"
driver: "iscsi"
enabled: "{{ enable_cinder_backend_hnas_iscsi | bool }}"
cinder_enabled_backends: "{{ cinder_backends|selectattr('enabled', 'equalto', true)|list }}"
#####################
# HNAS iscsi backend
#####################
hnas_volume_backend_name: "hnas_iscsi_backend"
hnas_username:
hnas_password:
hnas_mgmt_ip0:
hnas_svc0_volume_type:
hnas_svc0_hdp:
hnas_svc0_iscsi_ip: