cinder.volume.drivers.hitachi.hnas_utils
Module¶Shared code for HNAS drivers
get_pool
(config, volume)¶Get the pool of a volume.
Parameters: |
|
---|---|
Returns: | the pool related to the volume |
read_cinder_conf
(config_opts)¶Reads cinder.conf
Gets the driver specific information set on cinder.conf configuration file.
Parameters: |
|
---|---|
Returns: | Dictionary with the driver configuration |
read_xml_config
(xml_config_file, svc_params, optional_params)¶Read Hitachi driver specific xml config file.
Parameters: |
|
---|
['volume_type', 'hdp']
Parameters: | optional_params – parameters to configure that are not mandatory |
---|
['ssc_cmd', 'cluster_admin_ip0', 'chap_enabled']
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.