The nova.volume.cinder Module

Handles all requests relating to volumes + cinder.

class API

Bases: object

API for interacting with the volume manager.

attach(ctx, volume_id, *args, **kwargs)
begin_detaching(ctx, volume_id, *args, **kwargs)
check_attach(context, volume, instance=None)
check_attached(context, volume)
check_detach(context, volume)
create(context, size, name, description, snapshot=None, image_id=None, volume_type=None, metadata=None, availability_zone=None)
create_snapshot(ctx, volume_id, *args, **kwargs)
create_snapshot_force(ctx, volume_id, *args, **kwargs)
delete(ctx, volume_id, *args, **kwargs)
delete_snapshot(ctx, snapshot_id, *args, **kwargs)
detach(ctx, volume_id, *args, **kwargs)
get(ctx, volume_id, *args, **kwargs)
get_all(context, search_opts=None)
get_all_snapshots(context)
get_snapshot(ctx, snapshot_id, *args, **kwargs)
get_volume_encryption_metadata(context, volume_id)
initialize_connection(ctx, volume_id, *args, **kwargs)
migrate_volume_completion(context, old_volume_id, new_volume_id, error=False)
reserve_volume(ctx, volume_id, *args, **kwargs)
roll_detaching(ctx, volume_id, *args, **kwargs)
terminate_connection(ctx, volume_id, *args, **kwargs)
unreserve_volume(ctx, volume_id, *args, **kwargs)
update(ctx, volume_id, *args, **kwargs)
update_snapshot_status(ctx, snapshot_id, *args, **kwargs)
cinderclient(context)
reset_globals()

Testing method to reset globals.

translate_snapshot_exception(method)

Transforms the exception for the snapshot but keeps its traceback intact.

translate_volume_exception(method)

Transforms the exception for the volume but keeps its traceback intact.

Previous topic

The nova.vnc.xvp_proxy Module

Next topic

The nova.volume.encryptors.base Module

Project Source

This Page