cinder.api.contrib.volume_unmanage module

class VolumeUnmanageController(*args, **kwargs)

Bases: Controller

unmanage(req, id, body)

Stop managing a volume.

This action is very much like a delete, except that a different method (unmanage) is called on the Cinder driver. This has the effect of removing the volume from Cinder management without actually removing the backend storage object associated with it.

There are no required parameters.

A Not Found error is returned if the specified volume does not exist.

A Bad Request error is returned if the specified volume is still attached to an instance.

wsgi_actions = {'os-unmanage': 'unmanage'}
wsgi_extensions = []
class Volume_unmanage(ext_mgr)

Bases: ExtensionDescriptor

Enable volume unmanage operation.

alias = 'os-volume-unmanage'

List of extensions.ControllerExtension extension objects.

Controller extensions are used to extend existing controllers.

name = 'VolumeUnmanage'
updated = '2012-05-31T00:00:00+00:00'