Difference between revisions of "Obsolete:GlanceAPISpec"
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
= Glance API Specification = | = Glance API Specification = | ||
+ | |||
+ | Glance <=> Nova Integration requires these components: | ||
+ | |||
+ | * Glance - (Parallax + Teller); VM Image Management Service | ||
+ | * Parallax - Image registry | ||
+ | * Teller - Image Delivery Service | ||
+ | * [[GlanceImageService]] - An adapter in Nova to map Parallax Images to Nova-API images | ||
+ | * [[TellerImageService]] - An adapter in Nova to use fetch Images from Teller. | ||
== Teller == | == Teller == | ||
Line 35: | Line 43: | ||
"state": "available", | "state": "available", | ||
"public": true, | "public": true, | ||
− | "metadata": { "mykey": "myvalue }, | + | "metadata": { "mykey": "myvalue" }, |
"files": [ { "location": "swift://user:passwd@acct/container/obj.tar.gz.0", "size": 101 } ] | "files": [ { "location": "swift://user:passwd@acct/container/obj.tar.gz.0", "size": 101 } ] | ||
</nowiki></pre> | </nowiki></pre> |
Revision as of 17:45, 1 October 2010
Glance API Specification
Glance <=> Nova Integration requires these components:
- Glance - (Parallax + Teller); VM Image Management Service
- Parallax - Image registry
- Teller - Image Delivery Service
- GlanceImageService - An adapter in Nova to map Parallax Images to Nova-API images
- TellerImageService - An adapter in Nova to use fetch Images from Teller.
Teller
Fetch an Image
GET /images?uri=<Parallax URI for Image>
Returns
Image data as response body.
Parallax
GET http://parallax.openstack.org/images/<ID>
Returns
Image metadata encoded in JSON:
{ "id": 1, "name": "My Image", "state": "available", "public": true, "metadata": { "mykey": "myvalue" }, "files": [ { "location": "swift://user:passwd@acct/container/obj.tar.gz.0", "size": 101 } ]