The cinder.volume.drivers.zfssa.zfssaiscsi Module

ZFS Storage Appliance Cinder Volume Driver

class ZFSSAISCSIDriver(*args, **kwargs)

Bases: cinder.volume.driver.ISCSIDriver

ZFSSA Cinder volume driver

VERSION = '1.0.0'
backup_volume(context, backup, backup_service)

Not implemented

check_for_setup_error()

Check that driver can login.

Check also pool, project, initiators, initiatorgroup, target and targetgroup.

copy_image_to_volume(context, volume, image_service, image_id)
create_cloned_volume(volume, src_vref)

Create a clone of the specified volume.

create_export(context, volume)

Driver entry point to get the export info for a new volume.

create_snapshot(snapshot)

Creates a snapshot with the given snapshot[‘name’] of the snapshot[‘volume_name’]

create_volume(volume)

Create a volume on ZFSSA

create_volume_from_snapshot(volume, snapshot)

Creates a volume from a snapshot - clone a snapshot

delete_snapshot(snapshot)

Deletes a snapshot.

delete_volume(volume)

Deletes a volume with the given volume[‘name’].

do_setup(context)

Setup - create multiple elements.

Project, initiators, initiatorgroup, target and targetgroup.

ensure_export(context, volume)

Driver entry point to get the export info for an existing volume.

extend_volume(volume, new_size)

Driver entry point to extent volume size.

get_volume_stats(refresh=False)

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

local_path(volume)

Not implemented

protocol = 'iSCSI'
remove_export(context, volume)

Driver entry point to remove an export for a volume.

restore_backup(context, backup, volume, backup_service)

Not implemented

factory_zfssa()

Previous topic

The cinder.volume.drivers.zfssa.restclient Module

Next topic

The cinder.volume.drivers.zfssa.zfssarest Module

This Page