The cinder.volume.drivers.dothill.dothill_common Module

Volume driver common utilities for DotHill Storage array

class DotHillCommon(config)

Bases: object

VERSION = '1.0'
check_flags(options, required_flags)
client_login()
client_logout()
create_chap_record(initiator_name, chap_secret)
create_cloned_volume(volume, src_vref)
create_snapshot(snapshot)
create_volume(volume)
create_volume_from_snapshot(volume, snapshot)
delete_snapshot(snapshot)
delete_volume(volume)
do_setup(context)
extend_volume(volume, new_size)
get_active_fc_target_ports()
get_active_iscsi_target_iqns()
get_active_iscsi_target_portals()
get_chap_record(initiator_name)
get_version()
get_volume_stats(refresh)
manage_existing(volume, existing_ref)

Manage an existing non-openstack DotHill volume

existing_ref is a dictionary of the form: {‘source-name’: <name of the existing DotHill volume>}

manage_existing_get_size(volume, existing_ref)

Return size of volume to be managed by manage_existing.

existing_ref is a dictionary of the form: {‘source-name’: <name of the volume>}

map_volume(volume, connector, connector_element)
migrate_volume(volume, host)

Migrate directly if source and dest are managed by same storage.

Parameters:
  • volume – A dictionary describing the volume to migrate
  • host – A dictionary describing the host to migrate to, where host[‘host’] is its name, and host[‘capabilities’] is a dictionary of its reported capabilities.
Returns:

(False, None) if the driver does not support migration, (True, None) if successful

retype(volume, new_type, diff, host)
stats = {}
unmap_volume(volume, connector, connector_element)

Previous topic

The cinder.volume.drivers.dothill.dothill_client Module

Next topic

The cinder.volume.drivers.dothill.dothill_fc Module

Project Source

This Page