The nova.volume.cinder Module

Handles all requests relating to volumes + cinder.

class API(db_driver=None)

Bases: nova.db.base.Base

API for interacting with the volume manager.

attach(context, volume, instance_uuid, mountpoint)
begin_detaching(context, volume)
check_attach(context, volume, instance=None)
check_detach(context, volume)
create(context, size, name, description, snapshot=None, image_id=None, volume_type=None, metadata=None, availability_zone=None)
create_snapshot(context, volume, name, description)
create_snapshot_force(context, volume, name, description)
delete(context, volume)
delete_snapshot(context, snapshot)
delete_volume_metadata(context, volume, key)
detach(context, volume)
get(context, volume_id)
get_all(context, search_opts={})
get_all_snapshots(context)
get_snapshot(context, snapshot_id)
get_volume_metadata(context, volume)
get_volume_metadata_value(volume, key)
initialize_connection(context, volume, connector)
reserve_volume(context, volume)
roll_detaching(context, volume)
terminate_connection(context, volume, connector)
unreserve_volume(context, volume)
update(context, volume, fields)
update_volume_metadata(context, volume, metadata, delete=False)
cinderclient(context)

Previous topic

The nova.vnc.xvp_proxy Module

Next topic

The nova.weights Module

This Page