ISCSI Drivers for EMC VNX and VMAX arrays based on SMI-S.
Bases: cinder.volume.driver.ISCSIDriver
EMC ISCSI Drivers for VMAX and VNX using SMI-S.
1.0.0 - Initial driver 1.1.0 - Multiple pools and thick/thin provisioning,
performance enhancement.
Make sure volume is exported.
Creates a cloned volume.
Driver entry point to get the export info for a new volume.
Creates a snapshot.
Creates a EMC(VMAX/VNX) volume.
Creates a volume from a snapshot.
Deletes a snapshot.
Deletes an EMC volume.
Driver entry point to get the export info for an existing volume.
Extend an existing volume.
Get volume stats.
If ‘refresh’ is True, run update the stats first.
Initializes the connection and returns connection info.
The iscsi driver returns a driver_volume_type of ‘iscsi’. the format of the driver data is defined in smis_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': '12345678-1234-4321-1234-123456789012',
}
}
Driver entry point to remove an export for a volume.
Gets iscsi configuration.
We ideally get saved information in the volume entity, but fall back to discovery if need be. Discovery may be completely removed in future The properties are:
Target_discovered: | |
---|---|
boolean indicating whether discovery was used | |
Target_iqn: | the IQN of the iSCSI target |
Target_portal: | the portal of the iSCSI target |
Target_lun: | the lun of the iSCSI target |
Volume_id: | the UUID of the volume |
:auth_method:, :auth_username:, :auth_password:
the authentication details. Right now, either auth_method is not present meaning no authentication, or auth_method == CHAP meaning use CHAP with the specified credentials.
Disallow connection from connector.
Retrieve stats info from volume group.