1 # == Class: cinder::volume::nexenta
3 # Setups Cinder with Nexenta volume driver.
8 # (required) User name to connect to Nexenta SA.
10 # [*nexenta_password*]
11 # (required) Password to connect to Nexenta SA.
14 # (required) IP address of Nexenta SA.
17 # (optional) Pool on SA that will hold all volumes. Defaults to 'cinder'.
19 # [*nexenta_target_prefix*]
20 # (optional) IQN prefix for iSCSI targets. Defaults to 'iqn:'.
22 # [*nexenta_target_group_prefix*]
23 # (optional) Prefix for iSCSI target groups on SA. Defaults to 'cinder/'.
25 # [*nexenta_blocksize*]
26 # (optional) Block size for volumes. Defaults to '8k'.
29 # (optional) Flag to create sparse volumes. Defaults to true.
31 class cinder::volume::nexenta (
35 $nexenta_volume = 'cinder',
36 $nexenta_target_prefix = 'iqn:',
37 $nexenta_target_group_prefix = 'cinder/',
38 $nexenta_blocksize = '8k',
39 $nexenta_sparse = true
42 cinder::backend::nexenta { 'DEFAULT':
43 nexenta_user => $nexenta_user,
44 nexenta_password => $nexenta_password,
45 nexenta_host => $nexenta_host,
46 nexenta_volume => $nexenta_volume,
47 nexenta_target_prefix => $nexenta_target_prefix,
48 nexenta_target_group_prefix => $nexenta_target_group_prefix,
49 nexenta_blocksize => $nexenta_blocksize,
50 nexenta_sparse => $nexenta_sparse,