The cinder.volume.drivers.san.san Module¶
Default Driver 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.
-
class
SanDriver(*args, **kwargs)¶ Bases:
cinder.volume.driver.BaseVDBase class for SAN-style storage volumes
A SAN-style storage value is ‘different’ because the volume controller probably won’t run on it, so we need to access is over SSH or another remote protocol.
-
check_for_setup_error()¶ Returns an error if prerequisites aren’t met.
-
create_export(context, volume, connector)¶ Exports the volume.
-
ensure_export(context, volume)¶ Synchronously recreates an export for a logical volume.
-
remove_export(context, volume)¶ Removes an export for a logical volume.
-
san_execute(*cmd, **kwargs)¶
-
-
class
SanISCSIDriver(*args, **kwargs)¶ Bases:
cinder.volume.drivers.san.san.SanDriver,cinder.volume.driver.ISCSIDriver