Jump to: navigation, search

Obsolete:GlanceAPISpec

Revision as of 17:50, 1 October 2010 by RickH (talk) (Small cleanup)

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 fetch Images from Teller.

Teller

Fetch an Image

GET /images?uri=<Parallax URI for Image>


Returns

Image data as response body.

Exceptions

404 - Image is not found

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 } ]
}


Exceptions

404 - If Image is not found