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 at 0x7fcf7eb25e10>], 'update': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7fcf7eb25f90>], 'detail': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7fcf7eb25ed0>], 'show': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7fcf7eb25d50>]}¶
-
wsgi_actions
= {}¶
-
wsgi_extensions
= []¶
-
-
create_resource
()¶