[Openstack-docs] [openstack/glance] DocImpact review request change I845646fde22e18be27929b5ec70ef8041b6fa733

gerrit2 at review.openstack.org gerrit2 at review.openstack.org
Mon Jul 1 13:37:28 UTC 2013


Hi, I'd like you to take a look at this patch for potential
DocImpact.
https://review.openstack.org/35134

Log:
commit 371c265fe74603a6580a3e9d2291ce5d07421615
Author: Zhi Yan Liu <zhiyanl at cn.ibm.com>
Date:   Mon Jul 1 21:35:35 2013 +0800

    Add/remove/replace locations from an image
    
    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://path6"]}]
    
    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-image-locations
    docimpact
    
    Change-Id: I845646fde22e18be27929b5ec70ef8041b6fa733
    Signed-off-by: Zhi Yan Liu <zhiyanl at cn.ibm.com>

Automatically generated bug (please review):
https://bugs.launchpad.net/bugs/1196536



More information about the Openstack-docs mailing list