There is a need of nova delete all vm

Registered by Ali Jabbar on 2016-10-24

Currently, For the command line, novaclient only support one by one deletion or list of VMs , which is frustrating when there is a lot of vms to delete.
So, We want to add new cli command "nova delete-all" for vms.
and nova delete-all --exclude vm1 vm2 .. /* which delete all VMs except those VMs we want to guard

Also following enhancement can be done

For example:
If we want to delete all the VMs from a particular compute host:

[1] nova delete-all --host compute1

[2] nova delete-all --host compute1 --exclude vm1, vm2

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Ali Jabbar
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.