The cinder.volume.drivers.huawei.huawei_utils
Module¶
-
encode_host_name
(name)¶
-
encode_name
(id)¶
-
get_admin_metadata
(volume)¶
-
get_host_id
(client, host_name)¶
-
get_lun_metadata
(volume)¶
-
get_snapshot_id
(client, snapshot)¶
-
get_snapshot_metadata
(snapshot)¶
-
get_snapshot_metadata_value
(snapshot)¶
-
get_volume_lun_id
(client, volume)¶
-
get_volume_metadata
(volume)¶
-
get_volume_size
(volume)¶ Calculate the volume size.
We should divide the given volume size by 512 for the 18000 system calculates volume size with sectors, which is 512 bytes.
-
old_encode_host_name
(name)¶
-
old_encode_name
(id)¶
-
to_string
(**kwargs)¶
-
wait_for_condition
(func, interval, timeout)¶