Desc : Driver to store volumes on Coraid Appliances.
Require : Coraid EtherCloud ESM, Coraid VSX and Coraid SRX.
Author : Jean-Baptiste RANSY <openstack@alyseo.com>
Contrib : Larry Matter <support@coraid.com>
-
class CoraidDriver(*args, **kwargs)
Bases: cinder.volume.driver.VolumeDriver
This is the Class to set in cinder.conf (volume_driver).
-
attach_volume(context, volume, instance_uuid, mountpoint)
-
check_for_setup_error()
Return an error if prerequisites aren’t met.
-
create_export(context, volume)
-
create_snapshot(snapshot)
Create a Snapshot.
-
create_volume(volume)
Create a Volume.
-
create_volume_from_snapshot(volume, snapshot)
Create a Volume from a Snapshot.
-
delete_snapshot(snapshot)
Delete a Snapshot.
-
delete_volume(volume)
Delete a Volume.
-
detach_volume(context, volume)
-
do_setup(context)
Initialize the volume driver.
-
ensure_export(context, volume)
-
get_volume_stats(refresh=False)
Return Volume Stats.
-
initialize_connection(volume, connector)
Return connection information.
-
local_path(volume)
-
remove_export(context, volume)
-
terminate_connection(volume, connector, **kwargs)
-
exception CoraidESMException(message=None, error=None)
Bases: cinder.volume.drivers.coraid.CoraidException
-
exception CoraidException(message=None, error=None)
Bases: exceptions.Exception
-
class CoraidRESTClient(ipaddress, user, group, password)
Bases: object
Executes volume driver commands on Coraid ESM EtherCloud Appliance.
-
create_lun(volume_name, volume_size, repository)
Create LUN on Coraid Backend Storage.
-
create_snapshot(volume_name, snapshot_name)
Create Snapshot.
-
create_volume_from_snapshot(snapshot_name, volume_name, repository)
Create a LUN from a Snapshot.
-
delete_lun(volume_name)
Delete LUN.
-
delete_snapshot(snapshot_name)
Delete Snapshot.
-
exception CoraidRESTException(message=None, error=None)
Bases: cinder.volume.drivers.coraid.CoraidException