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 0x7f32d2f6d9c0>
create(req, body)

Creates a new server for a given user.

delete(req, id)

Destroys a server.


Returns a list of server details for a given user.


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 = {'reboot': '_action_reboot', 'changePassword': '_action_change_password', 'confirmResize': '_action_confirm_resize', 'resize': '_action_resize', 'createImage': '_action_create_image', 'rebuild': '_action_rebuild', 'revertResize': '_action_revert_resize'}
wsgi_extensions = []
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