Debian Codegraph @

releasenotes/notes/add_new_locations_apis_support-1ceb47178d384d58.yaml

raw symbols SCIP
1 ---
2 features:
3 - |
4 Add support for the new Glance ``Locations`` APIs
5
6 - Add client support for newly added API,
7 ``POST /v2/images/{image_id}/locations`` in Glance.
8 New add location operation is allowed for service to service
9 interaction, end users only when `http` store is enabled in
10 deployment and images which are in ``queued`` state only.
11 This api replaces the image-update (old location-add) mechanism
12 for consumers like cinder and nova to address `OSSN-0090`_ and
13 `OSSN-0065`_. This client change adds support of new shell command
14 ``add-location`` and new client method ``add_image_location``.
15 - Add support for newly added API,
16 ``GET /v2/images/{image_id}/locations`` in Glance to fetch the
17 locations associated to an image. This change adds new client method
18 ``get_image_locations`` since this new get locations api is meant for
19 service user only hence it is not exposed to the end user as a shell
20 command.
21
22 .. _OSSN-0090: https://wiki.openstack.org/wiki/OSSN/OSSN-0090
23 .. _OSSN-0065: https://wiki.openstack.org/wiki/OSSN/OSSN-0065