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>¶
-
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', 'rebuild': '_action_rebuild', 'reboot': '_action_reboot', 'changePassword': '_action_change_password', 'revertResize': '_action_revert_resize', 'resize': '_action_resize', 'confirmResize': '_action_confirm_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.