Keypair management extension.
- 
class Controller(ext_mgr=None, **kwargs)
 
Bases: nova.api.openstack.compute.legacy_v2.servers.Controller
- 
detail(req, resp_obj)
 
- 
show(req, resp_obj, id)
 
- 
wsgi_actions = {'rebuild': '_action_rebuild', 'revertResize': '_action_revert_resize', 'createImage': '_action_create_image', 'resize': '_action_resize', 'changePassword': '_action_change_password', 'confirmResize': '_action_confirm_resize', 'reboot': '_action_reboot'}
 
- 
wsgi_extensions = [('detail', None), ('show', None)]
 
- 
class KeypairController
 
Bases: object
Keypair API controller for the OpenStack API.
- 
create(req, body)
 
Create or import keypair.
Sending name will generate a key and return private_key
and fingerprint.
You can send a public_key to add an existing ssh key
- params: keypair object with:
 
- name (required) - string
public_key (optional) - string
 
- 
delete(req, id)
 
Delete a keypair with a given name.
- 
index(req)
 
List of keypairs for a user.
- 
show(req, id)
 
Return data for the given key name.
- 
class Keypairs(ext_mgr)
 
Bases: nova.api.openstack.extensions.ExtensionDescriptor
Keypair Support.
- 
alias = 'os-keypairs'
 
- 
get_controller_extensions()
 
- 
get_resources()
 
- 
name = 'Keypairs'
 
- 
namespace = 'http://docs.openstack.org/compute/ext/keypairs/api/v1.1'
 
- 
updated = '2011-08-08T00:00:00Z'