The cinder.volume.drivers.dell.dell_storagecenter_common Module

class DellCommonDriver(*args, **kwargs)

Bases: cinder.volume.drivers.san.san.SanDriver

check_for_setup_error()

Validates the configuration information.

create_cloned_volume(volume, src_vref)

Creates a clone of the specified volume.

create_export(context, volume)

Create an export of a volume.

The volume exists on creation and will be visible on initialize connection. So nothing to do here.

create_snapshot(snapshot)

Create snapshot

create_volume(volume)

Create a volume.

create_volume_from_snapshot(volume, snapshot)

Create new volume from other volume’s snapshot on appliance.

delete_snapshot(snapshot)
delete_volume(volume)
do_setup(context)

One time driver setup.

Called once by the manager after the driver is loaded. Sets up clients, check licenses, sets up protocol specific helpers.

ensure_export(context, volume)

Ensure an export of a volume.

Per the eqlx driver we just make sure that the volume actually exists where we think it does.

extend_volume(volume, new_size)

Extend the size of the volume.

get_volume_stats(refresh=False)

Get volume status.

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

remove_export(context, volume)

Remove an export of a volume.

We do nothing here to match the nothing we do in create export. Again we do everything in initialize and terminate connection.

update_migrated_volume(ctxt, volume, new_volume)

Return model update for migrated volume.

Parameters:
  • volume – The original volume that was migrated to this backend
  • new_volume – The migration volume object that was created on this backend as part of the migration process

:return model_update to update DB with any needed changes

Previous topic

The cinder.volume.drivers.dell.dell_storagecenter_api Module

Next topic

The cinder.volume.drivers.dell.dell_storagecenter_fc Module

This Page