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.ExtensionDescriptor

Services support.

alias = 'os-services'
get_resources()

List of extensions.ResourceExtension extension objects.

Resources define new nouns, and are accessible through URLs.

name = 'Services'
updated = '2012-10-28T00:00:00-00:00'