The cinder.api.v3.clusters Module

The cinder.api.v3.clusters Module

class ClusterController(view_builder=None)

Bases: cinder.api.openstack.wsgi.Controller

allowed_list_keys = set(['binary', 'name', 'frozen', 'num_down_hosts', 'disabled', 'replication_status', 'active_backend_id', 'num_hosts', 'is_up'])
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)
replication_fields = set(['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 = {'index': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'update': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'detail': [<cinder.api.openstack.versioned_method.VersionedMethod object>], 'show': [<cinder.api.openstack.versioned_method.VersionedMethod object>]}
wsgi_actions = {}
wsgi_extensions = []
create_resource()
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.