The openstack_dashboard.api.rest.cinder ModuleΒΆ

API over the cinder service.

class openstack_dashboard.api.rest.cinder.VolumeSnapshots(**kwargs)[source]

Bases: django.views.generic.base.View

API for cinder volume snapshots.

get(request, *args, **kw)[source]

Get a detailed list of volume snapshots associated with the current user’s project.

The listing result is an object with property “items”.

url_regex = 'cinder/volumesnapshots/$'
class openstack_dashboard.api.rest.cinder.Volumes(**kwargs)[source]

Bases: django.views.generic.base.View

API for cinder volumes.

get(request, *args, **kw)[source]

Get a detailed list of volumes associated with the current user’s project.

Example GET: http://localhost/api/cinder/volumes?paginate=true&sort_dir=asc #flake8: noqa

If invoked as an admin, you may set the GET parameter “all_projects” to ‘true’ to return details for all projects.

The following get parameters may be passed in the GET

:param search_opts includes options such as name, status, bootable :param paginate: If true will perform pagination based on settings. :param marker: Specifies the namespace of the last-seen image.

The typical pattern of limit and marker is to make an initial limited request and then to use the last namespace from the response as the marker parameter in a subsequent limited request. With paginate, limit is automatically set.
Parameters:sort_dir – The sort direction (‘asc’ or ‘desc’).

The listing result is an object with property “items”.

url_regex = 'cinder/volumes/$'