The cinder.api.contrib.services Module¶
-
class
ServiceController(ext_mgr=None)¶ Bases:
cinder.api.openstack.wsgi.Controller-
index(req)¶ Return a list of all running services.
Filter by host & service name.
-
update(req, id, body)¶ Enable/Disable scheduling for a service.
Includes Freeze/Thaw which sends call down to drivers and allows volume.manager for the specified host to disable the service rather than accessing the service directly in this API layer.
-
wsgi_actions= {}¶
-
wsgi_extensions= []¶
-
-
class
Services(ext_mgr)¶ Bases:
cinder.api.extensions.ExtensionDescriptorServices support.
-
alias= 'os-services'¶
-
get_resources()¶
-
name= 'Services'¶
-
namespace= 'http://docs.openstack.org/volume/ext/services/api/v2'¶
-
updated= '2012-10-28T00:00:00-00:00'¶
-
-
class
ServicesIndexTemplate¶ Bases:
cinder.api.xmlutil.TemplateBuilder-
construct()¶
-
-
class
ServicesUpdateTemplate¶ Bases:
cinder.api.xmlutil.TemplateBuilder-
construct()¶
-