Spec Lite: CLI support for new cache APIs¶
In Xena we are deprecating glance-cache-manage CLI utility as we are moving caching operations under glance-api by introducing new API endpoints for cache related operations.
We need to add new CLI commands; cache-queue, cache-list, cache-delete, cache-delete-all to support new cache APIs.
We will add new CLI interface for cache-queue, cache-list, cache-delete, cache-delete-all commands. As caching is local to each glance node and most of the deployments configures glance nodes behind the load-balancers, operator/user need to pass actual endpoint of the glance node. Existing optional command line option –os-image-url will be used to provide the actual endpoint to the client. The default value for –os-image-url can also be set to using OS_IMAGE_URL environment variable. If this optional parameter is not provided while executing above new commands or is using default value set using OS_IMAGE_URL environment variable all of the above commands should exit with appropriate error message.
Xena Milestone 2
dansmith, abhishek-kekane, cyril-roelandt