Previous topic

The cinder.volume.xiv Module

Next topic

The cinder.wsgi Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.volume.zadara Module

Volume driver for Zadara Virtual Private Storage Array (VPSA).

This driver requires VPSA with API ver.12.06 or higher.

class ZadaraVPSAConnection(host, port, ssl, user, password)

Bases: object

Executes volume driver commands on VPSA.

ensure_connection(cmd=None)

Retrieve access key for VPSA connection.

send_cmd(cmd, **kwargs)

Send command to VPSA Controller.

class ZadaraVPSAISCSIDriver(*args, **kwargs)

Bases: cinder.volume.driver.ISCSIDriver

Zadara VPSA iSCSI volume driver.

check_for_export(context, volume_id)

Irrelevant for VPSA volumes. Export created during attachment.

check_for_setup_error()

Returns an error (exception) if prerequisites aren’t met.

create_export(context, volume)

Irrelevant for VPSA volumes. Export created during attachment.

create_snapshot(snapshot)
create_volume(volume)

Create volume.

create_volume_from_snapshot(volume, snapshot)
delete_snapshot(snapshot)
delete_volume(volume)

Delete volume.

Return ok if doesn’t exist. Auto detach from all servers.

do_setup(context)

Any initialization the volume driver does while starting. Establishes initial connection with VPSA and retrieves access_key.

ensure_export(context, volume)

Irrelevant for VPSA volumes. Export created during attachment.

initialize_connection(volume, connector)

Attach volume to initiator/host.

During this call VPSA exposes volume to particular Initiator. It also creates a ‘server’ entity for Initiator (if it was not created before)

All necessary connection information is returned, including auth data. Connection data (target, LUN) is not stored in the DB.

local_path(volume)

Return local path to existing local volume.

remove_export(context, volume)

Irrelevant for VPSA volumes. Export removed during detach.

terminate_connection(volume, connector)

Detach volume from the initiator.