Add/remove/replace locations from an image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Diane Fleming | ||
openstack-manuals |
Fix Released
|
Medium
|
Diane Fleming |
Bug Description
https:/
commit 371c265fe74603a
Author: Zhi Yan Liu <email address hidden>
Date: Mon Jul 1 21:35:35 2013 +0800
Add/
This patch modifies the PATCH /v2/images/{id} API call. Clients can add,
remove and replace locations from the set of multiple locations
associated with a given image ID in the following way:
PATCH /images/1234
[{"op": "add", "path": "/locations/-", "value": "scheme3://path3"}]
PATCH /images/1234
[{"op": "add", "path": "/locations/1", "value": "scheme4://path4"}]
PATCH /images/1234
[{"op": "remove", "path": "/locations/2"}]
PATCH /images/1234
[{"op": "replace", "path": "/locations", "value": []}]
PATCH /images/5678
[{"op": "replace", "path": "/locations", "value": ["scheme5://path5",
"scheme6:
Glance will check location correctness when client adding, and will
remove the image content from the store when client remove a location.
Implement bp: multiple-
docimpact
Change-Id: I845646fde22e18
Signed-off-by: Zhi Yan Liu <email address hidden>
no longer affects: | openstack-manuals |
Changed in openstack-api-site: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → havana |
tags: |
added: image-api removed: glance |
Changed in openstack-manuals: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Diane Fleming (diane-fleming) |
milestone: | none → icehouse |
Changed in openstack-api-site: | |
assignee: | nobody → Diane Fleming (diane-fleming) |
Changed in openstack-manuals: | |
status: | In Progress → Fix Released |
backport: havana