Shared code for HNAS drivers
Get the pool of a volume.
| Parameters: |
|
|---|---|
| Returns: | the pool related to the volume |
Reads cinder.conf
Gets the driver specific information set on cinder.conf configuration file.
| Parameters: | config_opts – Configuration object that contains the information |
|---|
needed by HNAS driver :param dv_type: The type of the driver (NFS or iSCSI) :returns: Dictionary with the driver configuration
Read Hitachi driver specific xml config file.
| Parameters: |
|
|---|
[‘volume_type’, ‘hdp’, ‘iscsi_ip’] :param optional_params: parameters to configure that are not mandatory [‘ssc_cmd’, ‘cluster_admin_ip0’, ‘chap_enabled’]