Previous topic

The cinder.volume.drivers.emc.emc_smis_common Module

Next topic

The cinder.volume.drivers.glusterfs Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.volume.drivers.emc.emc_smis_iscsi Module

ISCSI Drivers for EMC VNX and VMAX arrays based on SMI-S.

class EMCSMISISCSIDriver(*args, **kwargs)

Bases: cinder.volume.driver.ISCSIDriver

EMC ISCSI Drivers for VMAX and VNX using SMI-S.

check_for_export(context, volume_id)

Make sure volume is exported.

check_for_setup_error()
create_cloned_volume(volume, src_vref)

Creates a cloned volume.

create_export(context, volume)

Driver entry point to get the export info for a new volume.

create_snapshot(snapshot)

Creates a snapshot.

create_volume(volume)

Creates a EMC(VMAX/VNX) volume.

create_volume_from_snapshot(volume, snapshot)

Creates a volume from a snapshot.

delete_snapshot(snapshot)

Deletes a snapshot.

delete_volume(volume)

Deletes an EMC volume.

ensure_export(context, volume)

Driver entry point to get the export info for an existing volume.

get_volume_stats(refresh=False)

Get volume status.

If ‘refresh’ is True, run update the stats first.

initialize_connection(volume, connector)

Initializes the connection and returns connection info.

The iscsi driver returns a driver_volume_type of ‘iscsi’. the format of the driver data is defined in _get_iscsi_properties. Example return value:

{
    'driver_volume_type': 'iscsi'
    'data': {
        'target_discovered': True,
        'target_iqn': 'iqn.2010-10.org.openstack:volume-00000001',
        'target_portal': '127.0.0.0.1:3260',
        'volume_id': 1,
    }
}
remove_export(context, volume)

Driver entry point to remove an export for a volume.

terminate_connection(volume, connector, **kwargs)

Disallow connection from connector.

update_volume_status()

Retrieve status info from volume group.