The cinder.volume.drivers.cloudbyte.cloudbyte Module

class CloudByteISCSIDriver(*args, **kwargs)

Bases: cinder.volume.drivers.san.san.SanISCSIDriver

CloudByte ISCSI Driver.

Version history:
1.0.0 - Initial driver 1.1.0 - Add chap support and minor bug fixes 1.1.1 - Add wait logic for delete volumes 1.1.2 - Update ig to None before delete volume 1.2.0 - Add retype support
CI_WIKI_NAME = 'CloudByte_CI'
SUPPORTED = False
VERSION = '1.2.0'
create_cloned_volume(cloned_volume, src_volume)

Create a clone of an existing volume.

First it will create a snapshot of the source/parent volume, then it creates a clone of this newly created snapshot.

create_export(context, volume, connector)

Setup the iscsi export info.

create_snapshot(snapshot)

Creates a snapshot at CloudByte.

create_volume(volume)
create_volume_from_snapshot(cloned_volume, snapshot)

Create a clone from an existing snapshot.

delete_snapshot(snapshot)

Delete a snapshot at CloudByte.

delete_volume(volume)
ensure_export(context, volume)

Verify the iscsi export info.

extend_volume(volume, new_size)
get_volume_stats(refresh=False)

Get volume statistics.

If ‘refresh’ is True, update/refresh the statistics first.

retype(ctxt, volume, new_type, diff, host)

Retypes a volume, QoS and file system update is only done.

volume_stats = {}