The cinder.volume.drivers.synology.synology_iscsi
Module¶
-
class
SynoISCSIDriver
(*args, **kwargs)¶ Bases:
cinder.volume.driver.ISCSIDriver
Openstack Cinder drivers for Synology storage.
- Version history:
- 1.0.0 - Initial driver. Provide Cinder minimum features
-
CI_WIKI_NAME
= 'Synology_DSM_CI'¶
-
VERSION
= '1.0.0'¶
-
check_for_setup_error
()¶
-
create_cloned_volume
(volume, src_vref)¶ Creates a clone of the specified volume.
-
create_export
(context, volume, connector)¶
-
create_snapshot
(snapshot)¶ Creates a snapshot.
-
create_volume
(volume)¶ Creates a logical volume.
-
create_volume_from_snapshot
(volume, snapshot)¶ Creates a volume from a snapshot.
-
delete_snapshot
(snapshot)¶ Deletes a snapshot.
-
delete_volume
(volume)¶ Deletes a logical volume.
-
do_setup
(context)¶
-
ensure_export
(context, volume)¶
-
extend_volume
(volume, new_size)¶ Extend an existing volume’s size.
-
get_volume_stats
(refresh=False)¶ Get volume status.
If ‘refresh’ is True, run update the stats first.
-
initialize_connection
(volume, connector)¶
-
remove_export
(context, volume)¶
-
terminate_connection
(volume, connector, **kwargs)¶
-
update_migrated_volume
(ctxt, volume, new_volume, status)¶ Return model update for migrated volume.