The cinder.volume.drivers.san.san Module

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.BaseVD

Base 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.


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

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.