configuration.xiv_ds8k_proxy = \
'cinder.tests.test_ibm_xiv_ds8k.XIVDS8KFakeProxyDriver'
configuration.xiv_ds8k_connection_type = 'iscsi'
+ configuration.xiv_chap = 'disabled'
configuration.san_ip = FAKE
configuration.san_login = FAKE
configuration.san_clustername = FAKE
default='iscsi',
help='Connection type to the IBM Storage Array'
' (fibre_channel|iscsi)'),
+ cfg.StrOpt(
+ 'xiv_chap',
+ default='disabled',
+ help='CHAP authentication mode, effective only for iscsi'
+ ' (disabled|enabled)'),
]
CONF = cfg.CONF
"xiv_ds8k_address": self.configuration.san_ip,
"xiv_ds8k_vol_pool": self.configuration.san_clustername,
"xiv_ds8k_connection_type":
- self.configuration.xiv_ds8k_connection_type
+ self.configuration.xiv_ds8k_connection_type,
+ "xiv_chap": self.configuration.xiv_chap
},
LOG,
exception,
# (fibre_channel|iscsi) (string value)
#xiv_ds8k_connection_type=iscsi
+# CHAP authentication mode, effective only for iscsi
+# (disabled|enabled) (string value)
+#xiv_chap=disabled
+
#
# Options defined in cinder.volume.drivers.lvm