The cinder.volume.drivers.netapp.eseries.iscsi Module

iSCSI driver for NetApp E-series storage systems.

class NetAppEseriesISCSIDriver(*args, **kwargs)

Bases: cinder.volume.driver.ISCSIDriver

Executes commands relating to Volumes.

HOST_TYPES = {'macos': 'MacTPGSALUA', 'linux_dm_mp': 'LnxALUA', 'aix': 'AIX MPIO', 'avt': 'AVT_4M', 'windows_clustered': 'Windows 2000/Server 2003/Server 2008 Clustered', 'linux_atto': 'LnxTPGSALUA', 'svc': 'SVC', 'solaris_v11': 'SolTPGSALUA', 'linux_pathmanager': 'LnxTPGSALUA_PM', 'windows': 'Windows 2000/Server 2003/Server 2008 Non-Clustered', 'windows_atto': 'WinTPGSALUA', 'ontap': 'ONTAP', 'hpux': 'HP-UX TPGS', 'solaris_v10': 'Solaris', 'linux_mpp_rdac': 'Linux', 'vmware': 'VmwTPGSALUA', 'factoryDefault': 'FactoryDefault'}
MAX_LUNS_PER_HOST = 255
REQUIRED_FLAGS = ['netapp_server_hostname', 'netapp_controller_ips', 'netapp_login', 'netapp_password', 'netapp_storage_pools']
SLEEP_SECS = 5
SSC_DISK_TYPE_MAPPING = {'sas': 'SAS', 'fibre': 'FCAL', 'scsi': 'SCSI', 'sata': 'SATA'}
SSC_UPDATE_INTERVAL = 60
VERSION = '1.0.0'
WORLDWIDENAME = 'worldWideName'
check_for_setup_error()
create_cloned_volume(volume, src_vref)

Creates a clone of the specified volume.

create_export(context, volume)

Exports the volume.

create_snapshot(snapshot)

Creates a snapshot.

create_volume(volume)

Creates a volume.

create_volume_from_snapshot(volume, snapshot)

Creates a volume from a snapshot.

delete_snapshot(snapshot)

Deletes a snapshot.

delete_volume(volume)

Deletes a volume.

do_setup(context)

Any initialization the volume driver does while starting.

ensure_export(context, volume)

Synchronously recreates an export for a volume.

extend_volume(volume, new_size)

Extend an existing volume to the new size.

get_pool(volume)

Return pool name where volume resides.

Parameters:volume – The volume hosted by the driver.
Returns:Name of the pool where given volume is hosted.
get_volume_stats(refresh=False)

Return the current state of the volume service.

initialize_connection(volume, connector)

Allow connection to connector and return connection info.

manage_existing(*args, **kwargs)

Brings an existing storage object under Cinder management.

manage_existing_get_size(volume, existing_ref)

Return size of volume to be managed by manage_existing.

When calculating the size, round up to the next GB.

remove_export(context, volume)

Removes an export for a volume.

terminate_connection(volume, connector, **kwargs)

Disallow connection from connector.

unmanage(volume)

Removes the specified volume from Cinder management.

Does not delete the underlying backend storage object. Logs a message to indicate the volume is no longer under Cinder’s control.

Previous topic

The cinder.volume.drivers.netapp.eseries.client Module

Next topic

The cinder.volume.drivers.netapp.eseries.utils Module

This Page