glance.api.v2.image_actions module

class glance.api.v2.image_actions.ImageActionsController(db_api=None, policy_enforcer=None, notifier=None, store_api=None)[source]

Bases: object

deactivate(req, image_id)[source]
reactivate(req, image_id)[source]
class glance.api.v2.image_actions.ResponseSerializer[source]

Bases: JSONResponseSerializer

deactivate(response, result)[source]
reactivate(response, result)[source]
glance.api.v2.image_actions.create_resource()[source]

Image data resource factory method