The cinder.volume.drivers.huawei.huawei_utils
Module¶
-
check_whether_operate_consistency_group
(func)¶
-
encode_host_name
(name)¶
-
encode_name
(name)¶
-
get_admin_metadata
(volume)¶
-
get_snapshot_metadata_value
(snapshot)¶
-
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.
-
wait_for_condition
(func, interval, timeout)¶