glance/api-ref/source/v2/samples/image-import-g-d-request.json
Grégoire Unbekandt 92492cf504 Add ability to import image into multi-stores
The import image api now supports a list of stores to import data into.
This list can be specified through a new "stores" field that has been
added to the request body.
During import stage, Glance iterates overs this list and send the data
to each store one by one.
If an invalid backend is requested by the user, an exception is raised.
If an errors occurs during verify, already pushed data is removed and
image state is unchanged.

Change-Id: Id3ac19488c0a693d7042be4a3c83f3b9f12313d0
Implements: blueprint import-multi-stores
2020-02-10 09:39:01 +01:00

8 lines
151 B
JSON

{
"method": {
"name": "glance-direct"
},
"stores": ["common", "cheap", "fast", "reliable"],
"all_stores_must_succeed": false
}