The cinder.volume.drivers.fusionstorage.dsware Module

Driver for Huawei FusionStorage.

class DSWAREDriver(*args, **kwargs)

Bases: cinder.volume.driver.VolumeDriver

Huawei FusionStorage Driver.

CI_WIKI_NAME = ‘Huawei_FusionStorage_CI’
DSWARE_VOLUME_CREATE_SUCCESS_STATUS = 0
DSWARE_VOLUME_CREATING_STATUS = 7
DSWARE_VOLUME_DUPLICATE_VOLUME = 6
VERSION = ‘1.0’
check_for_setup_error()
copy_image_to_volume(context, volume, image_service, image_id)
copy_volume_to_image(context, volume, image_service, image_meta)
create_cloned_volume(volume, src_volume)

Dispatcher to Dsware client to create volume from volume.

Wait volume create finished.

create_export(context, volume, connector)
create_snapshot(snapshot)
create_volume(volume)
create_volume_from_snapshot(volume, snapshot)
delete_snapshot(snapshot)
delete_volume(volume)
do_setup(context)
ensure_export(context, volume)
extend_volume(volume, new_size)
get_volume_stats(refresh=False)
initialize_connection(volume, connector)

Initializes the connection and returns connection info.

remove_export(context, volume)
terminate_connection(volume, connector, force=False, **kwargs)