The nova.api.openstack.compute.lock_server Module

class LockServer(extension_info)

Bases: nova.api.openstack.extensions.V21APIExtensionBase

Enable lock/unlock server actions.

alias = 'os-lock-server'
get_controller_extensions()
get_resources()
name = 'LockServer'
version = 1
class LockServerController(*args, **kwargs)

Bases: nova.api.openstack.wsgi.Controller

wsgi_actions = {'unlock': '_unlock', 'lock': '_lock'}
wsgi_extensions = []

Previous topic

The nova.api.openstack.compute.limits Module

Next topic

The nova.api.openstack.compute.migrate_server Module

Project Source

This Page