Drivers for san-stored volumes.
The unique thing about a SAN is that we don’t expect that we can run the volume controller on the SAN hardware. We expect to access it over SSH or some API.
Bases: cinder.volume.san.SanISCSIDriver
Create volume on SolidFire device.
The account is where CHAP settings are derived from, volume is created and exported. Note that the new volume is immediately ready for use.
One caveat here is that an existing user account must be specified in the API call to create a new volume. We use a set algorithm to determine account info based on passed in cinder volume object. First we check to see if the account already exists (and use it), or if it does not already exist, we’ll go ahead and create it.
For now, we’re just using very basic settings, QOS is turned off, 512 byte emulation is off etc. Will be looking at extensions for these things later, or this module can be hacked to suit needs.
Delete SolidFire Volume from device.
SolidFire allows multipe volumes with same name, volumeID is what’s guaranteed unique.