The cinder.api.v3.clusters Module

class ClusterController(view_builder=None)

Bases: cinder.api.openstack.wsgi.Controller

allowed_list_keys = set(['binary', 'name', 'num_down_hosts', 'disabled', 'is_up', 'num_hosts'])
detail(req)

Return a detailed list of all existing clusters.

Filter by is_up, disabled, num_hosts, and num_down_hosts.

index(req)

Return a non detailed list of all existing clusters.

Filter by is_up, disabled, num_hosts, and num_down_hosts.

static policy_checker(req, action, resource=None)
show(req, id, binary='cinder-volume')

Return data for a given cluster name with optional binary.

update(req, id, body)

Enable/Disable scheduling for a cluster.

versioned_methods = {'index': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f27fb2deb90>], 'update': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f27fb2ded90>], 'detail': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f27fb2de890>], 'show': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f27fb2de910>]}
wsgi_actions = {}
wsgi_extensions = []
create_resource()

Previous topic

The cinder.api.v3.backups Module

Next topic

The cinder.api.v3.consistencygroups Module

Project Source

This Page