1
# this can be used to insert into cinder_iscsi section lvm configuration parameters
3
# [iscsi_ip_address] The IP address that the iSCSI daemon is listening on
4
# [iscsi_helper] iSCSI target user-land tool to use
5
# [volume_group] Name for the VG that will contain exported volumes
9
# class { 'plugin_cinder_netapp::backend::iscsi':
10
# $iscsi_ip_address = '127.0.0.1',
12
# $volume_group = 'cinder' ,
15
1
class plugin_cinder_netapp::backend::iscsi (
16
$volume_group = 'cinder',
17
$iscsi_ip_address = $::internal_address,
18
$iscsi_helper = $::cinder::params::iscsi_helper,
2
$volume_group = 'cinder',
3
$iscsi_helper = $cinder::params::iscsi_helper,
5
) inherits cinder::params {
7
$network_scheme = hiera_hash('network_scheme', {})
8
prepare_network_config($network_scheme)
10
$storage_address = get_network_role_property('cinder/iscsi', 'ipaddr')
22
'cinder_iscsi/volume_backend_name': value => 'cinder_iscsi';
23
'cinder_iscsi/iscsi_ip_address': value => $iscsi_ip_address;
13
'cinder_iscsi/volume_backend_name': value => $backend_type;
14
'cinder_iscsi/volume_driver': value => 'cinder.volume.drivers.lvm.LVMVolumeDriver';
24
15
'cinder_iscsi/iscsi_helper': value => $iscsi_helper;
25
16
'cinder_iscsi/volume_group': value => $volume_group;
17
'cinder_iscsi/iscsi_ip_address': value => $storage_address;
18
'cinder_iscsi/backend_host': value => $storage_address;