The cinder.volume.drivers.blockbridge
Module¶
Blockbridge EPS iSCSI Volume Driver
-
class
BlockbridgeAPIClient
(configuration=None)¶ Bases:
object
-
submit
(rel_url, method=’GET’, params=None, user_id=None, project_id=None, req_id=None, action=None, **kwargs)¶ Submit a request to the configured API endpoint.
-
-
class
BlockbridgeISCSIDriver
(*args, **kwargs)¶ Bases:
cinder.volume.driver.ISCSIDriver
Manages volumes hosted on Blockbridge EPS.
-
CI_WIKI_NAME
= ‘Blockbridge_EPS_CI’¶
-
SUPPORTED
= False¶
-
VERSION
= ‘1.3.0’¶
-
check_for_setup_error
()¶ Verify configuration is valid.
-
create_cloned_volume
(volume, src_vref)¶ Creates a clone of the specified volume.
-
create_export
(_ctx, volume, connector)¶ Do nothing: target created during instance attachment.
-
create_snapshot
(snapshot)¶ Create snapshot of existing volume.
Parameters: snapshot – shapshot reference
-
create_volume
(volume)¶ Create a volume on a Blockbridge EPS backend.
Parameters: volume – volume reference
-
create_volume_from_snapshot
(volume, snapshot)¶ Create new volume from existing snapshot.
Parameters: - volume – reference of volume to be created
- snapshot – reference of source snapshot
-
delete_snapshot
(snapshot)¶ Delete volume’s snapshot.
Parameters: snapshot – shapshot reference
-
delete_volume
(volume)¶ Remove an existing volume.
Parameters: volume – volume reference
-
do_setup
(context)¶ Set up the Blockbridge volume driver.
-
ensure_export
(_ctx, volume)¶ Do nothing: target created during instance attachment.
-
extend_volume
(volume, new_size)¶ Extend an existing volume.
-
get_volume_stats
(refresh=False)¶
-
initialize_connection
(volume, connector, **kwargs)¶ Attach volume to initiator/host.
Creates a profile for the initiator, and adds the new profile to the target ACL.
-
remove_export
(_ctx, volume)¶ Do nothing: target created during instance attachment.
-
terminate_connection
(volume, connector, **kwargs)¶ Detach volume from the initiator.
Removes initiator profile entry from target ACL.
-