The cinder.volume.drivers.emc.emc_vmax_fc Module

class EMCVMAXFCDriver(*args, **kwargs)

Bases: cinder.volume.driver.FibreChannelDriver

EMC FC Drivers for VMAX using SMI-S.

Version history:

1.0.0 - Initial driver 1.1.0 - Multiple pools and thick/thin provisioning,

performance enhancement.

2.0.0 - Add driver requirement functions 2.1.0 - Add consistency group functions

VERSION = '2.1.0'
check_for_export(context, volume_id)

Make sure volume is exported.

check_for_setup_error()
create_cgsnapshot(context, cgsnapshot)

Creates a cgsnapshot.

create_cloned_volume(volume, src_vref)

Creates a cloned volume.

create_consistencygroup(context, group)

Creates a consistencygroup.

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_cgsnapshot(context, cgsnapshot)

Deletes a cgsnapshot.

delete_consistencygroup(context, group)

Deletes a consistency group.

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.

extend_volume(volume, new_size)

Extend an existing volume.

get_volume_stats(refresh=False)

Get volume stats.

Parameters:refresh – boolean – If True, run update the stats first.
Returns:dict – the stats dict
initialize_connection(*args, **kwargs)
migrate_volume(ctxt, volume, host)

Migrate a volume from one Volume Backend to another.

Parameters:
  • ctxt – context
  • volume – the volume object including the volume_type_id
  • host – the host dict holding the relevant target(destination) information
Returns:

boolean – Always returns True

Returns:

dict – Empty dict {}

remove_export(context, volume)

Driver entry point to remove an export for a volume.

retype(ctxt, volume, new_type, diff, host)

Migrate volume to another host using retype.

Parameters:
  • ctxt – context
  • volume – the volume object including the volume_type_id
  • new_type – the new volume type.
  • diff – Unused parameter.
  • host – the host dict holding the relevant target(destination) information
Returns:

boolean – True if retype succeeded, False if error

terminate_connection(*args, **kwargs)
update_volume_stats()

Retrieve stats info from volume group.

Previous topic

The cinder.volume.drivers.emc.emc_vmax_fast Module

Next topic

The cinder.volume.drivers.emc.emc_vmax_https Module

This Page