Go to file
Jake Yip c8c8964ddd Updates default --sort behaviour
When querying against a Juno glance-registry, we found that having the
--sort option defaulting to 'name:asc" results in querying the registry
with additional SQL parameters like the following:

WHERE image_properties_2.name = :name_1 AND image_properties_2.value =
:value_1

as a result of handling the newer 'sort' filter. This results in a
blank list being returned as the output of glance image-list.

This patch sets the --sort-key and --sort-dir instead of --sort when
neither --sort-key nor --sort-dir are specified, so as to maintain
backwards compatibility with Juno glance-registry.

Change-Id: I8bd64cca7f1b7abdbabf4c09e3dbbcb4044e51b4
Closes-bug: #1492887
2015-09-09 22:44:08 +10:00
2015-08-27 20:02:30 +00:00
2013-02-06 16:47:06 +02:00
2015-07-09 12:52:18 +00:00
2012-04-03 20:50:44 -06:00
2013-11-11 10:52:07 -08:00
2012-03-26 22:48:48 -07:00
2013-02-07 05:10:08 -06:00
2013-06-22 16:00:26 +02:00
2014-06-30 08:53:29 +02:00
2015-08-10 01:10:04 +00:00
2015-07-21 17:08:27 +03:00

Python bindings to the OpenStack Images API

This is a client library for Glance built on the OpenStack Images API. It provides a Python API (the glanceclient module) and a command-line tool (glance). This library fully supports the v1 Images API, while support for the v2 API is in progress.

Development takes place via the usual OpenStack processes as outlined in the developer guide. The master repository is in Git.

See release notes and more at http://docs.openstack.org/developer/python-glanceclient/.

Description
OpenStack Image Management (Glance) Client
Readme 18 MiB
Languages
Python 99.7%
Shell 0.3%