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

Services support.

alias = 'os-services'
get_resources()
name = 'Services'
updated = '2012-10-28T00:00:00-00:00'

Previous topic

The cinder.api.contrib.scheduler_stats Module

Next topic

The cinder.api.contrib.snapshot_actions Module

Project Source

This Page