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', 'creating', 'managing', 'error_deleting', 'error', 'error_managing', 'deleting'])
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', 'unmanaging')
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 = ('attached', 'detached')
valid_migration_status = ('migrating', 'error', 'success', 'completing', 'none', 'starting')
valid_status = set(['available', 'creating', 'in-use', 'detaching', 'managing', 'error_deleting', 'attaching', 'maintenance', 'error', 'error_managing', '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 = []