Files
python-glanceclient/glanceclient/tests/unit/v2
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
..
2022-02-22 16:39:33 +00:00
2022-01-31 13:27:54 -08:00
2021-08-02 09:08:50 +00:00
2024-01-27 23:18:53 +09:00
2015-11-10 10:28:32 +08:00