The nova.api.openstack.compute.legacy_v2.contrib.volumes Module

The volumes extension.

class SnapshotController

Bases: nova.api.openstack.wsgi.Controller

The Snapshots API controller for the OpenStack API.

create(req, body)

Creates a new snapshot.

delete(req, id)

Delete a snapshot.

detail(req)

Returns a detailed list of snapshots.

index(req)

Returns a summary list of snapshots.

show(req, id)

Return data about the given snapshot.

wsgi_actions = {}
wsgi_extensions = []
class VolumeAttachmentController(ext_mgr=None)

Bases: nova.api.openstack.wsgi.Controller

The volume attachment API controller for the OpenStack API.

A child resource of the server. Note that we use the volume id as the ID of the attachment (though this is not guaranteed externally)

create(req, server_id, body)

Attach a volume to an instance.

delete(req, server_id, id)

Detach a volume from an instance.

index(req, server_id)

Returns the list of volume attachments for a given instance.

show(req, server_id, id)

Return data about the given volume attachment.

update(req, server_id, id, body)
wsgi_actions = {}
wsgi_extensions = []
class VolumeController

Bases: nova.api.openstack.wsgi.Controller

The Volumes API controller for the OpenStack API.

create(req, body)

Creates a new volume.

delete(req, id)

Delete a volume.

detail(req)

Returns a detailed list of volumes.

index(req)

Returns a summary list of volumes.

show(req, id)

Return data about the given volume.

wsgi_actions = {}
wsgi_extensions = []
class Volumes(ext_mgr)

Bases: nova.api.openstack.extensions.ExtensionDescriptor

Volumes support.

alias = 'os-volumes'
get_resources()
name = 'Volumes'
namespace = 'http://docs.openstack.org/compute/ext/volumes/api/v1.1'
updated = '2011-03-25T00:00:00Z'

Previous topic

The nova.api.openstack.compute.legacy_v2.contrib.volume_attachment_update Module

Next topic

The nova.api.openstack.compute.legacy_v2.extensions Module

Project Source

This Page