Puppet Class: manila::share::hitachi_hnas

Defined in:
manifests/share/hitachi_hnas.pp

Overview

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',
}

Parameters:

  • hitachi_hnas_user (Any)
  • hitachi_hnas_password (Any)
  • hitachi_hnas_ip (Any)
  • hitachi_hnas_evs_id (Any)
  • hitachi_hnas_evs_ip (Any)
  • hitachi_hnas_file_system_name (Any)
  • driver_handles_share_servers (Any) (defaults to: false)


45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'manifests/share/hitachi_hnas.pp', line 45

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,
  }
}