The cinder.volume.drivers.hitachi.hnas_utils Module

Shared code for HNAS drivers

get_pool(config, volume)

Get the pool of a volume.

Parameters:
  • config – dictionary containing the configuration parameters
  • volume – dictionary volume reference
Returns:

the pool related to the volume

read_config(xml_config_file, svc_params, optional_params)

Read Hitachi driver specific xml config file.

Parameters:
  • xml_config_file – string filename containing XML configuration
  • svc_params – parameters to configure the services

[‘volume_type’, ‘hdp’, ‘iscsi_ip’] :param optional_params: parameters to configure that are not mandatory [‘hnas_cmd’, ‘ssh_enabled’, ‘cluster_admin_ip0’, ‘chap_enabled’]

Previous topic

The cinder.volume.drivers.hitachi.hnas_nfs Module

Next topic

The cinder.volume.drivers.hpe.hpe_3par_common Module

This Page