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.
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
= {'detail': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687f1f6490>], 'index': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687f1f6a10>], 'show': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687f1f6e10>], 'update': [<cinder.api.openstack.versioned_method.VersionedMethod object at 0x7f687f1f6d50>]}¶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.