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
= []¶
-