The cinder.api.contrib.admin_actions Module

class AdminController(*args, **kwargs)

Bases: cinder.api.openstack.wsgi.Controller

Abstract base class for AdminControllers.

authorize(context, action_name)
collection = None
valid_status = set(['available', 'error_deleting', 'deleting', 'creating', 'error'])
validate_update(body)
wsgi_actions = {'os-reset_status': '_reset_status', 'os-force_delete': '_force_delete'}
wsgi_extensions = []
class Admin_actions(ext_mgr)

Bases: cinder.api.extensions.ExtensionDescriptor

Enable admin actions.

alias = 'os-admin-actions'
get_controller_extensions()
name = 'AdminActions'
updated = '2012-08-25T00:00:00+00:00'
class BackupAdminController(*args, **kwargs)

Bases: cinder.api.contrib.admin_actions.AdminController

AdminController for Backups.

collection = 'backups'
valid_status = set(['available', 'error'])
wsgi_actions = {'os-reset_status': '_reset_status', 'os-force_delete': '_force_delete'}
wsgi_extensions = []
class SnapshotAdminController(*args, **kwargs)

Bases: cinder.api.contrib.admin_actions.AdminController

AdminController for Snapshots.

collection = 'snapshots'
valid_status = ('error', 'available', 'creating', 'deleting', 'deleted', 'updating', 'error_deleting')
wsgi_actions = {'os-reset_status': '_reset_status', 'os-force_delete': '_force_delete'}
wsgi_extensions = []
class VolumeAdminController(*args, **kwargs)

Bases: cinder.api.contrib.admin_actions.AdminController

AdminController for Volumes.

collection = 'volumes'
valid_attach_status = ('detached', 'attached')
valid_migration_status = ('migrating', 'error', 'success', 'completing', 'none', 'starting')
valid_status = set(['available', 'creating', 'in-use', 'error_deleting', 'attaching', 'detaching', 'maintenance', 'error', 'deleting'])
validate_update(body)
wsgi_actions = {'os-migrate_volume_completion': '_migrate_volume_completion', 'os-reset_status': '_reset_status', 'os-force_delete': '_force_delete', 'os-migrate_volume': '_migrate_volume', 'os-force_detach': '_force_detach'}
wsgi_extensions = []

Previous topic

The cinder.api.common Module

Next topic

The cinder.api.contrib.availability_zones Module

This Page