iSCSI Driver for Infortrend Eonstor based on CLI.
Bases: cinder.volume.driver.ISCSIDriver
Infortrend iSCSI Driver for Eonstor DS using CLI.
Creates a clone of the specified volume.
Exports the volume.
Can optionally return a Dictionary of changes to the volume object to be persisted.
Creates a snapshot.
Creates a volume.
Can optionally return a Dictionary of changes to the volume object to be persisted.
Creates a volume from a snapshot.
Deletes a snapshot.
Deletes a volume.
Synchronously recreates an export for a volume.
Extend a volume.
Get volume stats.
If ‘refresh’ is True, run update the stats first.
Initializes the connection and returns connection information.
The iscsi driver returns a driver_volume_type of ‘iscsi’. The format of the driver data is defined in _get_iscsi_properties. Example return value:
{
'driver_volume_type': 'iscsi'
'data': {
'target_discovered': True,
'target_iqn': 'iqn.2010-10.org.openstack:volume-00000001',
'target_portal': '127.0.0.0.1:3260',
'volume_id': 1,
}
}
Manage an existing lun in the array.
The lun should be in a manageable pool backend, otherwise error would return. Rename the backend storage object so that it matches the, volume[‘name’] which is how drivers traditionally map between a cinder volume and the associated backend storage object.
}
Return size of volume to be managed by manage_existing.
When calculating the size, round up to the next GB.
Migrate the volume to the specified host.
Returns a boolean indicating whether the migration occurred, as well as model_update.
Parameters: |
|
---|
Removes an export for a volume.
Convert the volume to be of the new type.
Parameters: |
|
---|
Disallow connection from connector.
Removes the specified volume from Cinder management.
Does not delete the underlying backend storage object.
Parameters: | volume – Cinder volume to unmanage |
---|
Return model update for migrated volume.
Parameters: |
|
---|---|
Returns: | model_update to update DB with any needed changes |