The nova.api.openstack.compute.servers Module

class ActionDeserializer(metadata=None)

Bases: nova.api.openstack.compute.servers.CommonDeserializer

Deserializer to handle xml-formatted server action requests.

Handles standard server attributes as well as optional metadata and personality attributes

default(string)
class CommonDeserializer(metadata=None)

Bases: nova.api.openstack.wsgi.MetadataXMLDeserializer

Common deserializer to handle xml-formatted server create requests.

Handles standard server attributes as well as optional metadata and personality attributes

metadata_deserializer = <nova.api.openstack.common.MetadataXMLDeserializer object at 0x690b990>
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 0x642f6c0>
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 = []
class CreateDeserializer(metadata=None)

Bases: nova.api.openstack.compute.servers.CommonDeserializer

Deserializer to handle xml-formatted server create requests.

Handles standard server attributes as well as optional metadata and personality attributes

default(string)

Deserialize an xml-formatted server create request.

FullServerTemplate()
class MinimalServersTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class ServerAdminPassTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class ServerMultipleCreateTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class ServerTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
class ServersTemplate

Bases: nova.api.openstack.xmlutil.TemplateBuilder

construct()
create_resource(ext_mgr)
make_fault(elem)
make_server(elem, detailed=False)
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.server_metadata Module

Next topic

The nova.api.openstack.compute.versions Module

This Page