cinder.volume.drivers.huawei.huawei_utils Module¶check_whether_operate_consistency_group(func)¶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)¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.