Virtualization image catalog API
Description
This document is meant as a design document for the image catalog.
User interface design ideas
Catalogs
We have to deal with several catalogs.
- a central catalog
- a site catalog
The central catalog contains all images which are supported for all sites. The site catalog only contains those images which are supported by the site and can be deployed at the site. (?)
Roles and ACLs
Endorser
The Endorser can act on the central catalog but not on the site catalogs.
The Endorser can
- query the (central) catalog
- check the integrity of an image/ verify if it is valid
- add images
- revoke images (but not remove them ?)
Site admin
- query the (central) catalog
- check the integrity of an image / verify if it is valid
- import an image to the local catalog
- revoke an image in the local catalog/ flag it as not supported for the local site
End user
Required features
The following features must be supported to be able to provide a working first implementation:
Nice-to-have features
The following features may be nice to have at a later stage
Use cases
Implementation
Basics guide lines
- All methods should have one parameter in and out.
- This will be the simplest type possible. Boolean, list or dictionary
- Minimum dictionary content should be clearly marked up to the end user.
- Deprecated dictionary content shall be ignored if newer dictionary content is added, to allow parameter changes.
Functions and methods
Straw man implementation
Source code
svn co http://svnweb.cern.ch/guest/vmimagecat
--
UlrichSchwickerath - 28-Apr-2010