The cinder.volume.drivers.hitachi.hbsd_common Module

Common class for Hitachi storage drivers.

class HBSDCommon(conf, parent, context, db)

Bases: object

add_lun(command, hostgroups, ldev, is_once=False)
add_volinfo(ldev, id=None, type='volume')
check_param()
check_volume_status(volume, is_vvol)
copy_async_data(pvol, svol, is_vvol)
copy_data(pvol, size, p_is_vvol, method)
copy_sync_data(src_ldev, dest_ldev, size)
create_cloned_volume(volume, src_vref)
create_ldev(size, ldev_range, pool_id, is_vvol)
create_lock_file()
create_snapshot(snapshot)
create_volume(volume)
create_volume_from_snapshot(volume, snapshot)
delete_ldev(ldev, is_vvol)
delete_pair(ldev, all_split=True, is_vvol=None)
delete_snapshot(snapshot)
delete_volume(volume)
extend_volume(volume, new_size)
get_copy_method(volume)
get_is_vvol(obj, name)
get_ldev(obj)
get_snapshot_is_vvol(snapshot)
get_snapshot_metadata(snapshot_id)
get_value(obj, name, key)
get_volume(volume_id)
get_volume_is_vvol(volume)
get_volume_metadata(volume_id)
init_volinfo(vol_info, ldev)
manage_existing(volume, existing_ref)

Manage an existing Hitachi storage volume.

existing_ref is a dictionary of the form:

For HUS 100 Family, {‘ldev’: <logical device number on storage>,

‘unit_name’: <storage device name>}

For VSP G1000/VSP/HUS VM, {‘ldev’: <logical device number on storage>,

‘serial_number’: <product number of storage system>}
manage_existing_get_size(volume, existing_ref)
output_backend_available_once()
output_param_to_log(storage_protocol)
unmanage(volume)

Remove the specified volume from Cinder management.

update_volume_stats(storage_protocol)
class TryLock

Bases: object

set_desc(description)

Previous topic

The cinder.volume.drivers.hitachi.hbsd_basiclib Module

Next topic

The cinder.volume.drivers.hitachi.hbsd_fc Module

Project Source

This Page