allow deletion of multiple images through CLI

Bug #1056498 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Wishlist
Sulochan Acharya

Bug Description

It would be super handy to allow an image-delete call like 'glance image-delete <IMAGE_ID1> <IMAGE_ID2>..<IMAGE_IDX>' would delete each individual image specified in the request.

Changed in python-glanceclient:
assignee: nobody → Sulochan Acharya (sulochan-acharya)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/14637

Changed in python-glanceclient:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/14637
Committed: http://github.com/openstack/python-glanceclient/commit/8b2c227f27be649a4a3e371ad99157ee464ecc1d
Submitter: Jenkins
Branch: master

commit 8b2c227f27be649a4a3e371ad99157ee464ecc1d
Author: Sulochan Acharya <email address hidden>
Date: Mon Oct 22 17:01:46 2012 -0500

    Allow deletion of multiple images through CLI

    Add nargs to argparse for image-delete command to
    allow muliple (optional) positional image-id arguments.
    For example:
    image-delete xxx aaa yyy will delete valid images
    xxx and yyy and print error message for invalid image
    aaa. Also with --verbose you can see some extra text
    on delete request for each image.

    Fixes bug1056498.

    Change-Id: I6e804700ed24d16f90ec92569c0893cad4aaa26f

Changed in python-glanceclient:
status: In Progress → Fix Committed
Brian Waldon (bcwaldon)
Changed in python-glanceclient:
status: Fix Committed → Fix Released
milestone: none → v0.6.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.