5640N/A# == Class: cinder::volume::zfssa_iscsi
5640N/A#
5640N/A# Setup Cinder wth the volume ZFSSA iSCSI driver
5640N/A#
5640N/A# === Parameters
5640N/A#
5708N/A# [*hostname*]
5708N/A# (required) Hostname of ZFS Storage Appliance.
5640N/A#
5640N/A# [*login*]
5640N/A# (required) Username to login to ZFS Storage Appliance.
5640N/A#
5640N/A# [*password*]
5640N/A# (required) Password for user in *login*.
5640N/A#
5640N/A# [*zfssa_pool*]
5640N/A# (required) Storage pool name
5640N/A#
5640N/A# [*zfssa_target_portal*]
5640N/A# (required) Address of the iSCSI target portal in IP:port format.
5640N/A#
5640N/A# [*zfssa_target_interfaces*]
5640N/A# (required) Interface names where iSCSI targets are available.
5640N/A# Example:
5640N/A# "e1000g0,vnic1"
5640N/A#
5640N/A# [*zfssa_project*]
5640N/A# (optional) Project name in *zfssa_pool*. Defaults to 'default'.
5640N/A#
5640N/A# [*zfssa_initiator*]
5640N/A# (optional) iSCSI initator name. Requires setting *zfssa_initiator_group*
5640N/A#
5640N/A# [*zfssa_initiator_group*]
5640N/A# (optional) iSCSI initiator group name. Required if *zfssa_initiator* is set.
5640N/A#
5640N/A# [*zfssa_initiator_config*]
5640N/A# (optional) iSCSI initator configuration.
5640N/A#
5640N/A# [*zfssa_initiator_user*]
5640N/A# (optional) CHAP user name for the iSCSI initator. Requires setting
5640N/A# *zfssa_initiator_password*
5640N/A#
5640N/A# [*zfssa_initiator_password*]
5640N/A# (optional) CHAP password. Required if *zfssa_initiator_user* is set.
5640N/A#
5640N/A# [*zfssa_target_group*]
5640N/A# (optional) iSCSI target group name.
5640N/A#
5640N/A# [*zfssa_target_user*]
5640N/A# (optional) CHAP user name for the iSCSI target. Requires setting
5640N/A# *zfssa_target_password*
5640N/A#
5640N/A# [*zfssa_target_password*]
5640N/A# (optional) CHAP password. Required if *zfssa_target_user* is set.
5640N/A#
5640N/A# [*zfssa_lun_volblocksize*]
5640N/A# (optional) Volume block size. Valid sizes are 512, 1k, 2k, 4k, 8k,
5640N/A# 16k, 32k, 64k, 128k. Default is 8k
5640N/A#
5640N/A# [*zfssa_lun_sparse*]
5640N/A# (optional) Flag to enable sparse allocation (thin-provisioning).
5640N/A# Default is False.
5640N/A#
5640N/A# [*zfssa_lun_compression*]
5640N/A# (optional) Data compression to use on the lun. Valid values are off, lzjb,
5640N/A# gzip, gzip-2, gzip-9.
5640N/A#
5640N/A# [*zfssa_lun_logbias*]
5640N/A# (optional) Synchronous log bias. Valid values are latency, throughput.
5640N/A#
5640N/A# [*extra_options*]
5640N/A# (optional) Hash of extra options to pass to the backend stanza
5640N/A# Defaults to: {}
5640N/A# Example :
5640N/A# { 'zfssa_param' => { 'value' => value1 } }
5640N/A
5640N/Aclass cinder::volume::zfssa_iscsi(
5640N/A $hostname,
5640N/A $login,
5640N/A $password,
5640N/A $zfssa_pool,
5640N/A $zfssa_target_portal,
5640N/A $zfssa_target_interfaces,
5640N/A $zfssa_project = undef,
5640N/A $zfssa_initiator = undef,
5640N/A $zfssa_initiator_group = undef,
5640N/A $zfssa_initiator_config = undef,
5640N/A $zfssa_initiator_user = undef,
5640N/A $zfssa_initiator_password = undef,
5640N/A $zfssa_target_group = undef,
5640N/A $zfssa_target_user = undef,
5640N/A $zfssa_target_password = undef,
5640N/A $zfssa_lun_volblocksize = undef,
5640N/A $zfssa_lun_sparse = undef,
5640N/A $zfssa_lun_compression = undef,
5640N/A $zfssa_lun_logbias = undef,
5640N/A $zfssa_rest_timeout = undef,
5640N/A $extra_options = {},
5640N/A) {
5640N/A
5640N/A cinder::backend::zfssa_iscsi { 'DEFAULT':
5640N/A hostname => $hostname,
5640N/A login => $login,
5640N/A password => $password,
5640N/A zfssa_pool => $zfssa_pool,
5640N/A zfssa_project => $zfssa_project,
5640N/A zfssa_lun_volblocksize => $zfssa_lun_volblocksize,
5640N/A zfssa_lun_sparse => $zfssa_lun_sparse,
5640N/A zfssa_lun_compression => $zfssa_lun_compresssion,
5640N/A zfssa_lun_logbias => $zfssa_lun_logbias,
5640N/A zfssa_initiator_group => $zfssa_initiator_group,
5640N/A zfssa_initiator => $zfssa_initiator,
5640N/A zfssa_initiator_user => $zfssa_initiator_user,
5640N/A zfssa_initiator_password => $zfssa_initiator_password,
5640N/A zfssa_initiator_config => $zfssa_initiator_config,
5640N/A zfssa_target_group => $zfssa_target_group,
5640N/A zfssa_target_user => $zfssa_target_user,
5640N/A zfssa_target_password => $zfssa_target_password,
5640N/A zfssa_target_portal => $zfssa_target_portal,
5640N/A zfssa_target_interfaces => $zfssa_target_interfaces,
5640N/A zfssa_rest_timeout => $zfssa_rest_timeout,
5640N/A extra_options => $extra_options
5640N/A }
5640N/A}
5640N/A