Support multiple argument in compute command-line

Registered by Tang Chen

In OSC, most commands can only operate on one object at one time. For example, you cannot create two servers within one single command.

There was a BP going to support operation on multiple servers within one command.
( https://blueprints.launchpad.net/python-openstackclient/+spec/cmd-with-multi-servers )
But the work stopped because of the discussion of error handling process in multiple rest api calls.

Now, in doc/source/command-errors.rst, we have defined the behavior of error handling in multiple rest api calls situation. So, we can restart the work of supporting multiple operation objects in command-line.

Instead of using the old BP, I'd like to propose a new one here to support not only server commands, but also all the commands possible in OSC.

This BP is for tracing compute commands.
( Will update the detailed work to do here. )

Related BP:
https://blueprints.launchpad.net/python-openstackclient/+spec/multi-argument-network
https://blueprints.launchpad.net/python-openstackclient/+spec/multi-argument-identity
https://blueprints.launchpad.net/python-openstackclient/+spec/multi-argument-image

Blueprint information

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

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/from,n,z

Addressed by: https://review.openstack.org/321968
    Support multiple argument for compute agent delete command

Gerrit topic: https://review.openstack.org/#q,topic:bp/multi-argument-compute,n,z

Addressed by: https://review.openstack.org/331544
    Support bulk deletion for "flavor/aggregate delete"

Addressed by: https://review.openstack.org/334307
    Support bulk deletion for delete commands in computev2

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.