Volume driver for IBM Storwize family and SVC storage systems.
Notes: 1. If you specify both a password and a key file, this driver will use the
key file only.
Limitations: 1. The driver expects CLI output in English, error messages may be in a
localized format.
Bases: object
Parse SVC CLI output and generate iterable
Bases: cinder.volume.drivers.san.san.SanDriver
IBM Storwize V7000 and SVC iSCSI/FC volume driver.
Version history: 1.0 - Initial driver 1.1 - FC support, create_cloned_volume, volume type support,
get_volume_stats, minor bug fixes
Ensure that the flags are set properly.
Check that we have all configuration details from the storage.
Check that the volume exists on the storage.
The system does not “export” volumes as a Linux iSCSI target does, and therefore we just check that the volume exists on the storage.
Get volume stats.
If we haven’t gotten stats yet or ‘refresh’ is True, run update the stats first.
Perform the necessary work so that an iSCSI/FC connection can be made.
To be able to create an iSCSI/FC connection from a given host to a volume, we must: 1. Translate the given iSCSI name or WWNN to a host name 2. Create new host on the storage system if it does not yet exist 3. Map the volume to the host if it is not already done 4. Return the connection information for relevant nodes (in the
proper I/O group)
Migrate direclty if source and dest are managed by same storage.
The method uses the migratevdisk method, which returns almost immediately, if the source and target pools have the same extent_size. Otherwise, it uses addvdiskcopy and rmvdiskcopy, which require waiting for the copy operation to complete.
Parameters: |
|
---|
Cleanup after an iSCSI connection has been terminated.
When we clean up a terminated connection between a given connector and volume, we: 1. Translate the given connector to a host name 2. Remove the volume-to-host mapping if it exists 3. Delete the host if it has no more mappings (hosts are created
automatically by this driver when mappings are created)
Check connector for at least one enabled protocol (iSCSI/FC).