U can check out the following:

https://github.com/yahoo/Openstack-Anvil/blob/master/anvil/helpers/glance.py#L292

It should be pretty easy to follow, it uses the glance and keystone python 
clients to upload, given an archive it will try to find the 
kernel//root/ramdisk images and then upload them with the corresponding 
metadata and so on... Should be relatively easy to follow.

On 5/25/12 10:13 AM, "Guilherme Birk" <[email protected]> wrote:

I'm using cloud-publish to upload images to glance. All my infraestructure is 
working fine using essex. Now I'm creating a small API using Python and I don't 
know how to upload an image with a kernel file and a ram-disk file using cURL. 
I just found a command to upload a single file at the Glance API documentation. 
Any suggestion of how can I do this upload ?

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to