14 Commits

Author SHA1 Message Date
jaypipes@gmail.com
13ff5c8eaa bin/glance-admin => bin/glance, since it's really just the CLI tool to interact with Glance. Added lots of documentation and more logging statements in some critical areas (like the glance.registry calls... 2011-02-25 11:33:24 -05:00
jaypipes@gmail.com
79ba479ada Adds lots of unit tests for verifying exceptions are raised
properly with invalid or mismatched disk and container formats.

Adds documentation on disk and container formats. Updates
existing documentation to remove references to the now-gone
type column and replaces these references with disk_format
and container_format.

Reworked the validates_image() method in the registry.db.api
to be like what Rick was describing in reviews.
2011-02-25 09:55:26 -05:00
jaypipes@gmail.com
5c03271048 Adds an admin tool to Glance (bin/glance-admin) that allows
a user to administer the Glance server:

* add images
* update image metadata
* delete images and metadata
* delete all images (clear)
* show an image
* list public images
* show detailed info on public images

Adds documentation for the tool and cleans up a few issues
that came up in initial testing.
2011-02-23 21:50:24 -05:00
jaypipes@gmail.com
66f4b78234 Adds bin/glance-control program server daemonization wrapper
program based on Swift's swift-init script.

Adds a crap-ton of documentation on installing Glance and
controlling Glance's server programs.

This was necessary since when glance.common.server was removed
from Glance and paste.deploy used, we lost the ability to control
server daemonization with CLI options. This adds back some of that
functionality while still using paste.deploy like Swift does.
2011-02-04 18:59:52 -05:00
jaypipes@gmail.com
5a74a85f94 Adds architecture docs and enables Graphviz sphinx extension. Also cleans up source code formatting in docs. 2011-01-24 13:03:20 -05:00
jaypipes@gmail.com
c967f9ace2 Adds man pages for glance-registry and glance-api. Adds Getting Started guide to Glance docs. 2011-01-19 16:38:39 -05:00
jaypipes@gmail.com
14cc5df1cc Cleanup of RST documentation and addition of docs on an image's status 2011-01-17 13:09:14 -05:00
jaypipes@gmail.com
2406386809 Update sphinx conf to match other OpenStack projects 2010-12-22 12:52:15 -05:00
jaypipes@gmail.com
f32a2eadb0 Documentation cleanup. Splits out index.rst into multiple section docs. 2010-12-22 12:38:54 -05:00
jaypipes@gmail.com
c566d9b77d Update docs for adding image... 2010-12-20 12:12:46 -05:00
jaypipes@gmail.com
97e966f2db Fixes from review 2010-12-16 17:04:58 -05:00
jaypipes@gmail.com
4cc79106e7 Documentation updates and GlanceClient -> Client 2010-12-14 14:47:00 -05:00
jaypipes@gmail.com
fba60c3a58 Merges Glance API with the registry API:
* Makes HEAD /images/<ID> return metadata in headers
* Make GET /images/<ID> return image data with metadata
  in headers
Updates docs some (more needed)

Next steps:

* Update main GlanceClient class to encapsulate entire Glance API
  and hide RegistryClient from normal usage
* Refactor registry database API and schema
2010-12-13 22:22:13 -05:00
Monty Taylor
3d69f40135 Added setup.py and sphinx docs. 2010-09-26 00:25:34 -07:00