cinder.api.v3.clusters module

class ClusterController(view_builder=None)

Bases: Controller

allowed_list_keys = {'active_backend_id', 'binary', 'disabled', 'frozen', 'is_up', 'name', 'num_down_hosts', 'num_hosts', 'replication_status'}
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.

replication_fields = {'active_backend_id', 'frozen', 'replication_status'}
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 = {'detail': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'index': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'show': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'update': [<cinder.api.openstack.versioned_method.VersionedMethod object>]}
wsgi_actions = {}
wsgi_extensions = []
create_resource()