The nova.api.openstack.compute.legacy_v2.servers Module

class Controller(ext_mgr=None, **kwargs)

Bases: nova.api.openstack.wsgi.Controller

The Server API base controller class for the OpenStack API.

B64_REGEX = <_sre.SRE_Pattern object at 0x7f5629801828>
create(req, body)

Creates a new server for a given user.

delete(req, id)

Destroys a server.

detail(req)

Returns a list of server details for a given user.

index(req)

Returns a list of server names and ids for a given user.

show(req, id)

Returns server details by server id.

update(req, id, body)

Update server then pass on to version-specific controller.

wsgi_actions = {'createImage': '_action_create_image', 'reboot': '_action_reboot', 'rebuild': '_action_rebuild', 'changePassword': '_action_change_password', 'confirmResize': '_action_confirm_resize', 'resize': '_action_resize', 'revertResize': '_action_revert_resize'}
wsgi_extensions = []
create_resource(ext_mgr)
remove_invalid_options(context, search_options, allowed_search_options)

Remove search options that are not valid for non-admin API/context.

Previous topic

The nova.api.openstack.compute.legacy_v2.server_metadata Module

Next topic

The nova.api.openstack.compute.legacy_v2.versions Module

Project Source

This Page