Hi,

First patch just remove 'owner_id' as a default parameter
for filtering images. This was moved to features, in case that
there will be just one owner id for image or 'no' owner id.

Second patch is a little bit bigger. It adds a 'Key pair'
managment API for EC2 driver. Which means that you will get a new
collection in entrypoints called 'keypairs'. From this point
you can:

1. create new keypairs (POST /api/keypairs) (-> /api/keypairs/new)
2. list available keypairs (GET /api/keypairs) (XML/HTML response)
3. view specific keypair (GET /api/keypairs/:id) (XML/HTML response)
4. delete keypair (DELETE /api/keypairs/:id)

Unfortunatelly, there is one difficulty with PEM files, which
are returned in 'create' response. These are returned just once
and there is no option in amazon API to get it again...
So my workaround is, that I'm storing these PEM files under
drivers/ec2/keys.
Filename is PEM fingerprint. These files are deleted together
with deleted keypair.

With second patch, you will be able to login into instance
if you specify a proper 'keypair name' using 'keyname' argument
in 'create instance' action.

 -- Michal

Reply via email to