The nova.api.openstack.compute.volumes Module

The volumes extension.

class SnapshotController

Bases: nova.api.openstack.wsgi.Controller

The Snapshots API controller for the OpenStack API.

create(*args, **kwargs)

Creates a new snapshot.

delete(*args, **kwargs)

Delete a snapshot.

detail(*args, **kwargs)

Returns a detailed list of snapshots.

index(*args, **kwargs)

Returns a summary list of snapshots.

show(*args, **kwargs)

Return data about the given snapshot.

wsgi_actions = {}
wsgi_extensions = []
class VolumeAttachmentController

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(*args, **kwargs)

Attach a volume to an instance.

delete(*args, **kwargs)

Detach a volume from an instance.

index(*args, **kwargs)

Returns the list of volume attachments for a given instance.

show(*args, **kwargs)

Return data about the given volume attachment.

update(*args, **kwargs)
wsgi_actions = {}
wsgi_extensions = []
class VolumeController

Bases: nova.api.openstack.wsgi.Controller

The Volumes API controller for the OpenStack API.

create(*args, **kwargs)

Creates a new volume.

delete(*args, **kwargs)

Delete a volume.

detail(*args, **kwargs)

Returns a detailed list of volumes.

index(*args, **kwargs)

Returns a summary list of volumes.

show(*args, **kwargs)

Return data about the given volume.

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

Bases: nova.api.openstack.extensions.V21APIExtensionBase

Volumes support.

alias = 'os-volumes'
get_controller_extensions()
get_resources()
name = 'Volumes'
version = 1

Previous topic

The nova.api.openstack.compute.virtual_interfaces Module

Next topic

The nova.api.openstack.extensions Module

Project Source

This Page