Go to file
Abhishek Kekane 90d15f65a6 Add support for passing image size to Glance API
Introduced a new command-line option --size for the image-create and
image-create-via-import commands. Added the `x-openstack-image-size` header
to transmit the image size from image-upload and image-stage commands
to the Glance API.

If --size is not specified but --file is provided, the script calculates
the file size and includes it in the `x-openstack-image-size` header when
invoking image-upload and image-stage commands.

Change-Id: I7572f8a5d42a9968b940ed71eecbe3028e92877e
Signed-off-by: Abhishek Kekane <akekane@redhat.com>
2025-07-31 16:20:05 +00:00
2021-09-15 04:33:07 -04:00
2018-06-05 14:38:51 +00:00
2019-04-19 19:39:30 +00:00
2022-02-25 13:31:42 -08:00
2024-11-25 00:39:59 +09:00
2012-03-26 22:48:48 -07:00
2021-07-07 20:46:00 +08:00
2025-06-09 18:06:39 +09:00
2020-04-04 16:47:34 +02:00
2024-01-27 23:18:53 +09:00
2023-04-18 22:24:37 +02:00

Team and repository tags

The following tags have been asserted for Python bindings to the
OpenStack Images API:
"project:official",
"stable:follows-policy",
"vulnerability:managed".
Follow the link for an explanation of these tags.

Python bindings to the OpenStack Images API

Latest Version

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 https://docs.openstack.org/python-glanceclient/latest/.

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