1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
# == Class: manila::share::hitachi_hnas
#
# Configures Manila to use the HITACHI NAS platform share driver
#
# === Parameters
#
# [*hitachi_hnas_user*]
# (required) Denotes the username credential used to manage HNAS through
# management interface.
#
# [*hitachi_hnas_password*]
# (required) Denotes the password credential used to manage HNAS through
# management interface.
#
# [*hitachi_hnas_ip*]
# (required) Denotes the IP address used to access HNAS through management
# interface.
#
# [*hitachi_hnas_evs_id*]
# (required) Denotes the identification number of the HNAS EVS data interface
#
# [*hitachi_hnas_evs_ip*]
# (required) Denotes the IP address of the HNAS EVS data interface
#
# [*hitachi_hnas_file_system_name*]
# (required) Denotes the hnas filesystem name used for volume provisioning
#
# [*driver_handles_share_servers*]
# (optional) Denotes whether the driver should handle the responsibility of
# managing share servers.
# Defaults to false.
#
# === Examples
#
# class { 'manila::share::hds_hnas':
# driver_handles_share_servers => false,
# hitachi_hnas_user => 'supervisor',
# hitachi_hnas_password => 'supervisor',
# hitachi_hnas_ip => '172.24.44.15',
# hitachi_hnas_evs_id => '1',
# hitachi_hnas_evs_ip => '10.0.1.20',
# hitachi_hnas_file_system_name => 'FS-Manila',
# }
#
class manila::share::hitachi_hnas (
$hitachi_hnas_user,
$hitachi_hnas_password,
$hitachi_hnas_ip,
$hitachi_hnas_evs_id,
$hitachi_hnas_evs_ip,
$hitachi_hnas_file_system_name,
$driver_handles_share_servers = false,
) {
manila::backend::hitachi_hnas { 'DEFAULT':
driver_handles_share_servers => $driver_handles_share_servers,
hitachi_hnas_user => $hitachi_hnas_user,
hitachi_hnas_password => $hitachi_hnas_password,
hitachi_hnas_ip => $hitachi_hnas_ip,
hitachi_hnas_evs_id => $hitachi_hnas_evs_id,
hitachi_hnas_evs_ip => $hitachi_hnas_evs_ip,
hitachi_hnas_file_system_name => $hitachi_hnas_file_system_name,
}
}
|