cinder.api.v3.clusters
Modulecinder.api.v3.clusters
Module¶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.
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 0x99919d0>], ‘update’: [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x9107050>], ‘detail’: [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x9107990>], ‘show’: [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x9991490>]}¶wsgi_actions
= {}¶wsgi_extensions
= []¶create_resource
()¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.