The cinder.volume.drivers.hds.iscsi Module

iSCSI Cinder Volume driver for Hitachi Unified Storage (HUS-HNAS) platform.

class HDSISCSIDriver(*args, **kwargs)

Bases: cinder.volume.driver.ISCSIDriver

HDS HNAS volume driver.

check_for_setup_error()

Returns an error if prerequisites aren’t met.

create_cloned_volume(dst, src)

Create a clone of a volume. :param dst: ditctionary destination volume reference :param src: ditctionary source volume reference

create_export(context, volume)

Create an export. Moved to initialize_connection. :param context: :param volume: volume reference

create_snapshot(snapshot)

Create a snapshot. :param snapshot: dictionary snapshot reference

create_volume(volume)

Create a LU on HNAS. :param volume: ditctionary volume reference

create_volume_from_snapshot(volume, snapshot)

Create a volume from a snapshot.

Parameters:
  • volume – dictionary volume reference
  • snapshot – dictionary snapshot reference
delete_snapshot(snapshot)

Delete a snapshot.

Parameters:snapshot – dictionary snapshot reference
delete_volume(volume)

Delete an LU on HNAS. :param volume: dictionary volume reference

do_setup(context)

Setup and verify HDS HNAS storage connection.

ensure_export(context, volume)
extend_volume(volume, new_size)

Extend an existing volume.

Parameters:
  • volume – dictionary volume reference
  • new_size – int size in GB to extend
get_volume_stats(refresh=False)

Get volume stats. If ‘refresh’, run update the stats first.

initialize_connection(volume, connector)

Map the created volume to connector[‘initiator’].

Parameters:
  • volume – dictionary volume reference
  • connector – dictionary connector reference
remove_export(context, volume)

Disconnect a volume from an attached instance. :param context: context :param volume: dictionary volume referencej

terminate_connection(volume, connector, **kwargs)

Terminate a connection to a volume.

Parameters:
  • volume – dictionary volume reference
  • connector – dictionary connector reference
factory_bend(type)

Previous topic

The cinder.volume.drivers.hds.hus_backend Module

Next topic

The cinder.volume.drivers.hds.nfs Module

This Page